https://github.com/security-union/pixel-rain-with-rust-and-rust
Pixel rain effect in rust
https://github.com/security-union/pixel-rain-with-rust-and-rust
animation rust
Last synced: about 1 year ago
JSON representation
Pixel rain effect in rust
- Host: GitHub
- URL: https://github.com/security-union/pixel-rain-with-rust-and-rust
- Owner: security-union
- License: mit
- Created: 2022-06-27T01:35:33.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T16:56:54.000Z (about 4 years ago)
- Last Synced: 2024-12-24T18:23:36.793Z (over 1 year ago)
- Topics: animation, rust
- Language: HTML
- Homepage:
- Size: 4.14 MB
- Stars: 14
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# pixel-rain-with-rust-and-rust

Inspired by https://youtu.be/RCVxXgJ8xSk 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 Rust.
Notice how modifying the particle system does not cause the component to refresh thanks to YEW's advanced component lifecycle.
Let me know what you think!
# How to run?
```
trunk serve
```
# YouTube Video
https://youtu.be/NTcvWDQ1mMI
[](https://www.youtube.com/watch?v=NTcvWDQ1mMI "YouTube video")