Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alesgenova/ray-tracer-app
Demo app for my ray tracing engine
https://github.com/alesgenova/ray-tracer-app
Last synced: 3 days ago
JSON representation
Demo app for my ray tracing engine
- Host: GitHub
- URL: https://github.com/alesgenova/ray-tracer-app
- Owner: alesgenova
- Created: 2019-04-08T02:26:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-30T00:34:49.000Z (almost 4 years ago)
- Last Synced: 2023-03-02T02:41:33.604Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 1.49 MB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ray Tracer Demo
A ray tracing demo using Rust and WebAssembly## Live Demo
[![Demo Page](./demo_small.png)](https://alesgenova.github.io/ray-tracer-app/)## Components
### Core Ray Tracing Engine
- Rust ([source](https://github.com/alesgenova/ray-tracer))### Communication with web worker
- post-me ([source](https://github.com/alesgenova/post-me))### WebAssembly Wrapper
- Rust / wasm-bindgen ([source](https://github.com/alesgenova/ray-tracer-app/tree/master/wasm))### Single Page App
- React ([source](https://github.com/alesgenova/ray-tracer-app/tree/master/client))### Building
```bash
# Build wasm
# Prerequisite: cargo and wasm-pack
cd wasm
wasm-pack build --target web# Start the app
cd ../client
npm install
npm run start
```