Mar-06-2021, 06:26 PM
(Mar-06-2021, 12:44 PM)Serafim Wrote: Use it, modify it to your taste or just skip it if it is not useful in your line of ideas. I'm just playing around a little when taking a rest from my own work.
Good work. I'm just playing around too. I think the path here will end with a Fractal() class that's __init__ method grabs from a bunch of functions (ie, gen_fib, yours, etc) to construct the algorithm for building that fractal.
Today I'm working on using pygame.Vector2.rotate() to try and curve each segment of points in way that keeps them on screen. I want them to spiral around the origin of the fractal, or have it grow towards the mouse pointer. Then add branching.
After that I think I need to convert to pygame.Vector3 and learn how to plot 3d points in 2d.