Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 15 days 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T16:56:54.000Z (over 2 years ago)
- Last Synced: 2024-12-24T18:23:36.793Z (17 days 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
![Ww0Xt1mAMy31Ofar0GYu8Oab0v2k0uF1XT_zTt5kPU1M8o58sT5OOXCsSxv3nNGxsG8dG4zI=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj (1)](https://user-images.githubusercontent.com/1176339/155262320-ce1406f0-d35d-418e-a8b9-60b928cceeb2.jpeg)
# pixel-rain-with-rust-and-rust
![Jun-26-2022 16-22-42](https://user-images.githubusercontent.com/1176339/175844917-48a722d9-9de7-42bb-b807-7a3e3b0b6afe.gif)
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
[![IMAGE ALT TEXT](http://img.youtube.com/vi/NTcvWDQ1mMI/maxresdefault.jpg)](https://www.youtube.com/watch?v=NTcvWDQ1mMI "YouTube video")