jin / raytracer

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

Home Page:http://raytracer.crypt.sg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

http://raytracer.crypt.sg


Languages

Language:TypeScript 93.1%Language:HTML 6.9%