Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustyNight

A generated animation of a winter night using rust

Try it out as webassembly here

screenshot

Building & running

Running natively

cargo run --release

(press space to start the animation)

Running as web assembly

In order to build for web assembly that target may have to be setup once:

rustup target add wasm32-unknown-unknown

Then the project can be built using [wasm-pack](



RustyNight can be compiled to web assembly using [cargo-run-wasm](https://github.com/rukai/cargo-run-wasm)

```bash
cargo run-wasm --release --package rusty_night

This opens a local webserver at http://localhost:8080 where the animation can be viewed. (Press space to start the animation)

About

A generated animation of a winter night using rust

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages