Interactive Rive GPU Canvas Mini-Game with Fluid and SmokeInteractive Rive GPU Canvas Mini-Game with Fluid and Smoke
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Hi, I created a mini-game powered by the new Rive GPU Canvas. At its core is a real-time fluid simulation using the MPM algorithm. This liquid also generates smoke, which runs on a separate engine at the same time.
To make it look magical, I added pattern algorithms directly to the fluid particles -- like Gray-Scott, Belousov-Zhabotinsky, and particle combustion. By combining them, I built 19 presets that create beautiful, dynamic patterns right on the living liquid.
It’s fully interactive! You can play with it using your cursor or touch screen. You can even tilt your iPhone to control the fluid using its motion sensors. Mix different ingredients to unlock new, ever-changing effects.
The complex and impressive look of the liquid is achieved by custom rendering for refraction, background distortion, reflections, depth shading, and dynamic waves based on particle velocity
Finally, to bring the whole scene to life, I wrote some custom scripts. These animate particles, bubbles, flickering flames, and a wavy ghost that dynamically changes its shape.
Anna's avatar
Belousov-Zhabotinsky❤️
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started