Uploaded October 2026 | Updated November 2026, 5 hours ago
Thousands of fish, one draw call, and the CPU never touches a single one.
GPGPU: the fish data lives in a buffer on the GPU, and a compute shader runs once per fish, all in parallel. Read neighbors, apply the rules, write the new position.
Instancing: instead of 4,000 "draw a fish here" messages, you send one: here's a fish, here are 4,000 places. The positions come straight from the buffer the compute shader just wrote.
π LINKS
Live demo β https://aquarium.wawasensei.dev/
Source β github.com/wass08/aquarium
π Learn React Three Fiber with the Ultimate Guide to 3D Web Development β¨
https://wawasensei.dev/courses/react-three-fiber/
#threejs #webgpu #creativecoding #gamedev #shaders
π§° WHAT'S USED
Three.js / WebGPU, d3-delaunay, Rapier, Tweakpane, Remotion (the motion design)
β¬β¬β¬β¬β¬β¬ π RESOURCES β¬β¬β¬β¬β¬β¬
Threejs
threejs.org
React Three Fiber
https://r3f.docs.pmnd.rs/getting-started/introduction
β¬β¬β¬β¬β¬β¬ Support the channel π β¬β¬β¬β¬β¬β¬
Become a member to get access to awesome perks:
youtube.com/channel/UCBH-5ctALmmOrm4kczL3urQ/join
β¬β¬β¬β¬β¬β¬ Connect with me π β¬β¬β¬β¬β¬β¬
π» The Discord Community
discord.gg/2wBhwchcWu
πΈ Instagram :
instagram.com/wawa.sensei
π Facebook :
facebook.com/wawasenseiyt
π¦Twitter :
twitter.com/wawasensei
π¦TikTok :
tiktok.com/@wawasensei08
Thousands of fish, one draw call, and the CPU never touches a single one.
GPGPU: the fish data lives in a buffer on the GPU, and a compute shader runs once per fish, all in parallel. Read neighbors, apply the rules, write the new position.
Instancing: instead of 4,000 "draw a fish here" messages, you send one: here's a fish, here are 4,000 places. The positions come straight from the buffer the compute shader just wrote.
π LINKS
Live demo β https://aquarium.wawasensei.dev/
Source β github.com/wass08/aquarium
π Learn React Three Fiber with the Ultimate Guide to 3D Web Development β¨
https://wawasensei.dev/courses/react-three-fiber/
#threejs #webgpu #creativecoding #gamedev #shaders
π§° WHAT'S USED
Three.js / WebGPU, d3-delaunay, Rapier, Tweakpane, Remotion (the motion design)
β¬β¬β¬β¬β¬β¬ π RESOURCES β¬β¬β¬β¬β¬β¬
Threejs
threejs.org
React Three Fiber
https://r3f.docs.pmnd.rs/getting-started/introduction
β¬β¬β¬β¬β¬β¬ Support the channel π β¬β¬β¬β¬β¬β¬
Become a member to get access to awesome perks:
youtube.com/channel/UCBH-5ctALmmOrm4kczL3urQ/join
β¬β¬β¬β¬β¬β¬ Connect with me π β¬β¬β¬β¬β¬β¬
π» The Discord Community
discord.gg/2wBhwchcWu
πΈ Instagram :
instagram.com/wawa.sensei
π Facebook :
facebook.com/wawasenseiyt
π¦Twitter :
twitter.com/wawasensei
π¦TikTok :
tiktok.com/@wawasensei08










