Inspired by • Vanilla JavaScript Pixel Rain Tutorial I created a YEW app that applies a pixel rain effect to an image.
I used no other frameworks, just the HTML canvas, and a basic particle system all written in #rustlang
Notice how modifying the particle system does not cause the component to refresh thanks to YEW's advanced component lifecycle.
Code: https://github.com/security-union/pix...
Let me know what you think!
00:00 What we will build: pixel rain effect
00:15 Acknowledgements
00:30 Project setup
05:39 Page load test
10:30 Building a particle using Rust
23:16 Basic particle system works (no image)
32:40 Demo black and white
36:40 Demo color