#lsystem — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #lsystem, aggregated by home.social.
-
#LSystem from today's activity at Sesc.
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_04_09 #Processing #Python #py5 #CreativeCoding #3D #loop -
#LSystem & #shapely Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_10_31
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding -
CW: grumpy comment about Shiffman wrapping everything in classes (OO)
I love Daniel Shiffman and the people porting NOC examples, but their insistence on wrapping everything in classes, and in this particular example, to put them on separate files... Take this L-System example: https://github.com/nature-of-code/noc-2-processing-port/blob/main/chapter8/Example_8_9_LSystem/Example_8_9_LSystem.pde
And the JS original: https://natureofcode.com/fractals/#l-systems (you have to open the p5js editor and click a lot to find the lsystem.js file)
In my view it doesn't help at all learners grasp what is going on to have to switch to two other tabs to look at a few lines of code that could be two functions.
Ignore for a moment it's Python and compare the previous code to these procedural implementations:
https://abav.lugaralgum.com/material-aulas/Processing-Python-py5/LSystem.html(Now, I take back the "ignore for a moment it's Python", and I suggest you marvel at the elegance of the Python dict)
#natureofcode #Processing #LSystem #Python #JavaScript #ObjectOriented #procedural