Skip to content

KevinXuxuxu/cosmo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eg

cd rust
cargo run -- -f scenes/panorama.cos -s 200,30 -d 20 --fr 60

Build

  • Build to binary (CLI mode):
cargo build --release
# or just run directly
cargo run -- -f scenes/cube.cos -s 80,40 -d 10 --fr 60
  • Build to WASM (result in ./pkg). To use in browser, see this script as an example.
wasm-pack build --target web --features wasm
  • Build to WASM with Rayon multi-thread support
wasm-pack build --target web --features wasm_rayon --config .cargo/wasm-rayon-config.toml

About

3D graphics engine in terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published