🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

crp-raytracer

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crp-raytracer

Distributed raytracer using crowdprocess

latest
npmnpm
Version
0.0.4
Version published
Weekly downloads
7
40%
Maintainers
1
Weekly downloads
 
Created
Source

crp-raytracer

A distributed RayTracer as a service with CrowdProcess!

Install

First, you need to install node. And then :

npm install

You then need to have a crowdprocess account. You can now create a credentials file. The credentials.json looks like this:

{
  "email": "your@email.com",
  "password": "secret"
}

Run it!

node . 50 ./examples/pokeball_scene.json out.png

50 represents the size of the square that is sent to each browsers.

Browserifiy it

npm install -g browserify brfs
browserify -t brfs ./web-app/browser.js -o ./web-app/bundle.js

There is an encoding issue at line 3589 of bundle js, rewrite && from the keyboard.

Credits

Big inspiration from the work of Christopher Chedeau aka Vjeux you can find here jsRayTracer. Thanks!

FAQs

Package last updated on 17 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts