nowfound

Life & fun · April 30, 2016

AP

A parallel raytracer written in TypeScript and running on WebGL

A parallel raytracer written in TypeScript and running on WebGL launched on April 30, 2016 with 5 votes and more than 50% of that year's launches. The site was still online in September 2026, 10 years on.

What it does

A parallel raytracer built with TypeScript and GPU.js (WebGL/GLSL). The canvas is 640px by 640px. Each canvas object is controlled by a single GPU.js kernel and a single thread is spawned for each pixel to compute the color of the pixel. Increase the dimensions of the grid to break the canvas up into tiles, so that there are multiple kernels controlling multiple tiles. With this approach, the kernels will run sequentially, computing one canvas after another. Benchmark Benchmark the performance of the parallelized GPU and sequential CPU kernels. This will render 30 frames each and compute min, max, median frame rendering durations, andfrom raytracer.crypt.sg

Does a similar job

all alternatives →

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, April 2016

the whole month →
  • Email copy from great companies.

    Growth · 2016 · goodemailcopy.com

  • The mass market electric car by Tesla is here ⚡️🚘

    Life & fun · 2016 · tesla.com

  • Kite▲867

    Internet-connected programming

    Dev tools · 2016 · kite.com

  • Access all the files on Dropbox without having to sync

    Work · 2016 · blog.dropbox.com

  • The easiest way to build an FB bot. No coding required!

    Dev tools · 2016

  • Quickly find your Bootstrap classes on this interactive Bootstrap cheat sheet. It includes code samples and live preview of elements.

    Dev tools · 2016 · hackerthemes.com