Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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 görüntüleme • 3 yıl önce •via X (Twitter)

10 Yorum

Andrei Kashcha 🇺🇦 profil fotoğrafı
Andrei Kashcha 🇺🇦3 yıl önce

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)

Andrei Kashcha 🇺🇦 profil fotoğrafı
Andrei Kashcha 🇺🇦3 yıl önce

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

Prathyush profil fotoğrafı
Prathyush3 yıl önce

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

George Morgan profil fotoğrafı
George Morgan3 yıl önce

Wow! 👏

Be_the_change profil fotoğrafı
Be_the_change3 yıl önce

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

题叶 profil fotoğrafı
题叶3 yıl önce

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.

Andrei Kashcha 🇺🇦 profil fotoğrafı
Andrei Kashcha 🇺🇦3 yıl önce

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

(⁠*⁠˘⁠︶⁠˘⁠*⁠)⁠.⁠。`♡⭒✳🏴🔆🇵🇸🇨🇩🇸🇩🇭🇹 profil fotoğrafı
(⁠*⁠˘⁠︶⁠˘⁠*⁠)⁠.⁠。`♡⭒✳🏴🔆🇵🇸🇨🇩🇸🇩🇭🇹3 yıl önce

🦋🧡

Pratyay Banerjee (নীল)  profil fotoğrafı
Pratyay Banerjee (নীল) 3 yıl önce

This is amazing!

Mqrius profil fotoğrafı
Mqrius3 yıl önce

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

Benzer Videolar