Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```