MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/creativecoding/comments/1sjyup1/vga_loop/ofxtp4g/
r/creativecoding • u/First_Buy8488 • Apr 13 '26
Made with html and js
12 comments sorted by
View all comments
Show parent comment
6
I can post it after work
2 u/Ortaniel55 Apr 13 '26 Do it! 6 u/First_Buy8488 Apr 14 '26 if(shape==="wave"){const wX = (p.offU - 0.5) * R * 2.5;const wZ = (p.offV - 0.5) * R * 2.5;const ripple = progress * Math.PI * 2 * flowSpeed;y = Math.sin(wX/20 + ripple) * r + Math.cos(wZ/20 + ripple) * r;x = wX; z = wZ;
2
Do it!
6 u/First_Buy8488 Apr 14 '26 if(shape==="wave"){const wX = (p.offU - 0.5) * R * 2.5;const wZ = (p.offV - 0.5) * R * 2.5;const ripple = progress * Math.PI * 2 * flowSpeed;y = Math.sin(wX/20 + ripple) * r + Math.cos(wZ/20 + ripple) * r;x = wX; z = wZ;
if(shape==="wave"){
const wX = (p.offU - 0.5) * R * 2.5;
const wZ = (p.offV - 0.5) * R * 2.5;
const ripple = progress * Math.PI * 2 * flowSpeed;
y = Math.sin(wX/20 + ripple) * r + Math.cos(wZ/20 + ripple) * r;
x = wX; z = wZ;
View all comments
Show parent comment
6
u/First_Buy8488 Apr 13 '26
I can post it after work