# crp-raytracer

> Distributed raytracer using crowdprocess

Latest version **0.0.4** (published 2014-04-17) · GPL license · 0 weekly downloads

## Install

```sh
npm install crp-raytracer
pnpm add crp-raytracer
yarn add crp-raytracer
bun add crp-raytracer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2014-04-17 |
| First published | 2014-04-12 |
| Weekly downloads | 0 |
| License | GPL |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | @diffcunha |
| Maintainers | diffcunha |

## Links

- npm: https://www.npmjs.com/package/crp-raytracer
- npm.io page: https://npm.io/package/crp-raytracer

## Dependencies (1)

- [crowdprocess](https://npm.io/package/crowdprocess.md) ~0.5.11

## Recent versions

- 0.0.4 (latest) — 2014-04-17
- 0.0.3 — 2014-04-17
- 0.0.2 — 2014-04-15
- 0.0.1 — 2014-04-12

## README

crp-raytracer
=============

A distributed RayTracer as a service with CrowdProcess!

# Install

First, you need to install [node](http://nodejs.org/). And then :
````
npm install
````

You then need to have a [crowdprocess](https://crowdprocess.com/) 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](http://blog.vjeux.com/) you can find here [jsRayTracer](https://github.com/vjeux/jsRayTracer). Thanks!

---
_Source: https://npm.io/package/crp-raytracer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
