项目作者: andrewbrg

项目描述 :
CPU Raytracing in JavaScript
高级语言: JavaScript
项目地址: git://github.com/andrewbrg/cpu-raytracer-js.git
创建时间: 2018-08-25T20:50:35Z
项目社区:https://github.com/andrewbrg/cpu-raytracer-js

开源协议:GNU General Public License v3.0

下载


Raytracing on the CPU in JavaScript

This project is a very very simple ray tracer (https://en.wikipedia.org/wiki/Ray_tracing_(graphics)) written in pure JS and runnable in a web browser thanks to the use of an HTML Canvas.

It’s written manner which is not so optimized for performance but on the other hand more readily readable by humans in order to facilitate the understanding of the underlying code and math. To get started simply download the project and run demo.html.

*based on a literate raytracer in javascript http://macwright.org/literate-raytracer/


Ray Tracer Perview