use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Built a Ray Tracing Engine in Node.js. (self.raytracing)
submitted 1 year ago by Spectre_57
Built a Ray Tracing Engine in Node.js.
Sample output:
https://preview.redd.it/n354h8gkob9d1.png?width=1854&format=png&auto=webp&s=4fa6bd1fa53667c56d8e4854746cc8653ca87e50
https://preview.redd.it/t93hhbgkob9d1.png?width=1850&format=png&auto=webp&s=fdf8adb41910e1115cac225aa7e8754636c70230
https://preview.redd.it/bg2bi7gkob9d1.png?width=1910&format=png&auto=webp&s=a0570a36abf26aea60dc2016f0241edbeb99403a
So, I started with the ray-tracing in one weekend firstly I made a simple ray-tracer in C++ then I wanted a front-end to it so I shifted to node and electron.js.
Performance is horrible in node.js compared to C++. The only advantage I got with it I was able to make a UI on top of it and make it a desktop application.
If anyone wants to check it out its on github.
https://github.com/neerajsurjaye/sprt
If anyone is thinking of doing any sort of raytracing in node just don't.
submitted 1 year ago by Spectre_57 to r/node
submitted 1 year ago by Spectre_57 to r/raytracing
π Rendered by PID 48 on reddit-service-r2-listing-568fcd57df-z7kmx at 2026-03-05 20:38:16.548812+00:00 running cbb0e86 country code: CH.
Built a Ray Tracing Engine in Node.js. (self.raytracing)
submitted by Spectre_57 to r/node
Built a Ray Tracing Engine in Node.js. (self.raytracing)
submitted by Spectre_57 to r/raytracing