[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.10533114 [View]
File: 1.89 MB, 250x250, avh.gif [View same] [iqdb] [saucenao] [google]
10533114

>>10532848
I'm doing it directly on GPU as a fragment shader

>>10532321
Only dividing by a number between 7 and 8
Maybe if you check my implementation
from what I understand it is
(u+d+l+r+(ur/2)+(ul/2)+(dr/2)+(dl/2)+(randbetween(self-1000,self+1000)))/7.125

Also I don't have randbetween really, I have a random function giving values between 0 and 1, so I subtract 0.5 from that, and then multiply it by 2000 (or 0 or anything else) and add that to selfcell. As far as I can tell that gives the same result mathematically but maybe I'm missing something
when I have it at 1000 I get random noise, as expected, but at 0.5 or less it just decays and reaches equilibrium at 0, pic related

Navigation
View posts[+24][+48][+96]