Our great sponsors
-
rototiller
Collection of software-rendered realtime graphics compositions, see https://rototiller.pengaru.com. Github is only a mirror.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Thanks! Some splits are randomly generated by traversing the line and each point has a small chance (5% or so) to create a split and change color. I've tried other techniques as well where lines change color by which region of the the canvas they are in etc.
I even wrote a small UI using Rust and egui to render the drawings in real-time just to play around with that specific part. It looks like this https://imgur.com/a/Zfp1ls3 and is open source https://github.com/damoonrashidi/generative-art/tree/develop...
I implemented a something similar[0] a while back in rototiller[1], there's a short low-res youtube clip here[2].
It was a fun little hack, I didn't realize this is a thing. I was just messing around with an idea of pushing particles through a cube of tri-linearly interpolated direction vectors, without simulating any actual physics like mass/friction/fluids or anything like that.
Something which surprised me was during development I just populated the cube of vectors with randomized vectors, fully expecting I'd have to do something more intentional and clever before it was interesting to watch. But the emergent structure of the flow paths even with the pseudo-random vectors was surprisingly interesting and I just left it at that, with the addition of a second randomized field the direction vectors would be interpolated between in a ping-pong manner. When one field is dominant, it re-randomized the other, resulting in a continuously-looking evolving field...
[0] https://github.com/vcaputo/rototiller/blob/master/src/module...
[1] https://github.com/vcaputo/rototiller/tree/master
[2] https://www.youtube.com/watch?v=-q2Yq2fHedw
Related posts
- I wrote a new language to beat Figma
- Pixel shader format WGS is released and can be deployed on both native and Web
- A simulation of the Physarum Polycephalum slime rendered with Bevy
- Hey Rustaceans! Got a question? Ask here (23/2023)!
- We are building a new language for building UI, and here is the overview of how we compile it to wasm, and then render it via WGPU. It's very very early.