dorkhub

raytracer

Animated parallel raytracer in TypeScript compiled to WebGL, using GPU.js. Specular, Lambertian reflections included.

jin
TypeScript655 forksupdated 6 years ago
git clone https://github.com/jin/raytracer.gitjin/raytracer

A TypeScript project with GPU.js

Installation

npm install typescript

Running

tsc # builds to app.js
open index.html

Others

GPU.js TypeScript definition file is in lib/gpu.d.ts.

more like this

search

search projects, people, and tags