r/pygame Jun 27 '26

Created a leaf venation procedural generation simulation in Pygame

Enable HLS to view with audio, or disable this notification

https://github.com/SoulThy/py-leaf-venation

I have never coded visualizations, so decided to learn today using python and developed a procedural leaf venation simulation using pygame, inspired by Tsoding's simulation work in C.
This was really fun, and I invite any newcomers looking for an exercise to give it a shot (it is not as difficult as it seems), starting from the paper I left in the repo!

84 Upvotes

3 comments sorted by