Python Portraits

Python Portraits is a web-based abstract image generator. It analyzes the lines of a python file and converts the program structure into an abstract image. All of the image generation is done on your CPU, therefore the time it takes to create the image is dependant on your computer.

Python Portraits is still in pre-alpha. We are working hard to become feature-complete, however if you would like to report an issue or suggest a feature please contact us.

Check out the code on GitHub.

Step 1. Load a .py file

loading gif

Step 2. Choose your visualization Style

Rectangles are generated in random locations on the canvas.

Creates a 3D box structure based on the nesting of the code.

Creates a Fractal tree based on the nested structure of code.

Step 3. Create

Download Image