Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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")