Skip to content

kmdouglass/cherry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

880 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cherry Ray Tracer

Optical system design in the browser

This is alpha software. Emphasis is currently placed on feature development, not on fixing bugs or on improving code quality.

Quickstart

  1. Go to https://kmdouglass.github.io/cherry/
  2. Start designing!

Development

See crates/cherry-rs/README.md for information about the cherry-rs library.

Prerequisites

  • Rust compiler (see rust-toolchain.toml for the version)
  • trunk (for the WASM frontend)
  • binaryen (optional — trunk will use wasm-opt for WASM optimization if it is on your PATH)
  • rii.db (the materials database)

Place the rii.db materials database in

  1. crates/cherry-rs/data for desktop development and testing, and
  2. in www/egui/assets for web app development.

Build

cd www/egui
trunk build --release

Serve Locally

Launch the development server:

cd www/egui
trunk serve

About

Optical system design in the browser

Resources

License

Stars

Watchers

Forks

Contributors

Languages