Loading video...
Video Failed to Load
I am playing with WebGPU. Built myself a spaceship to fly through vector spaces. Here is Lorenz attractor: vec4f(10 * (y - x), x * (28 - z) - y, x * y - (8 / 3) * z, 0) What other spaces should I visit? Can do 4D too...
18,586 views • 3 years ago •via X (Twitter)
10 Comments

Here is a space populated by Thomas attractor. Thank you for the coordinates, @ivanmoreno_xyz: vec4f( -b * x + sin(y), -b * y + sin(z), -b * z + sin(x), 0) (where b is 0.19)

This erupting volcano effect is thanks to seemingly a bug in OSX, which causes `fract()` return values out of [0..1] range. I love it

I am thinking this might be a nice title card animation for Dune 2 or 3! 😅

Wow! 👏

Hello @DavidNo74093661 Have you already saw this work of the wizard Andrei Kashcha?

I have a question, hot do you store those growling lines in compute shader? I learnt about the usages and the buffer size is defined before passing to shader.

Indeed! Buffer size is created with enough memory to store X segments for Y lines. Another buffer is used to store "length" of the rendered line and where its head is. Once cycle is over, head is written to tail, and with module operations I adjust what is rendered

🦋🧡

This is amazing!

Make the vector space affect the spacecraft, like funky gravity! It's not a spacecraft if you can't orbit

