I must say that this sort of prompt is what drew me to generative art in the first place in 2022. One of my early creations was exactly 10000 Bezier curves arranged in a circle. To me, it looked kind of like an eyeball, or a solar eclipse. I liked it enough that I've been using it as my profile picture ever since. I like to think that creating generative art has changed the way I see things.
Creating 10_000 of something is easy with #py5's vectorized methods. Here, the vertices() and set_strokes() methods are used to quickly create and color 10_000 points.
size(999, 999, P2D)
color_mode(CMAP, "hot")
stroke_weight(32)
s = create_shape()
with s.begin_shape(POINTS):
s.vertices(999 * np.random.rand(N:=10000, 2))
s.set_strokes(color(x / N, 64)for x in range(N))
shape(s)
@sebastianlague latest video made me want to try his spatial grid algorithm. I've been wanting to try gpu-based spatial partitioning for quite a while and Sebastian's explanations are really nice to follow and wrap one's head around the concept.
But first, particles!
#Genuary15#Genuary16 So I'm cheating a bit here since I worked on my own physics library as I implemented spatial grid partitioning, which was the beginning goal of this project. I now render 256k particles at 300fps. I wanted to reach 1M but with 80 fps it's not stable enough yet. :/
Now I need to think about mesh collisions and proper rendering I guess.