nornenjs

Implement volume rendering. Use NIVIDA CUDA and Byte stremaing

Usage no npm install needed!

<script type="module">
  import nornenjs from 'https://cdn.skypack.dev/nornenjs';
</script>

README

Nornenjs

We were implemented based on "node-cuda".

We added some library "node-cuda" cuda_runtime_api.h and helper_math.h. And change some code that implement receive multi parameter to CUDA source.

And we used "BinaryJS" and "socket.io".

Prerequisites

You will need to have a CUDA compatible GPU as well as the latest CUDA Drivers and Toolkit installed for your platform.

Currently only tested on Ubuntu 12.04.14 32bit.

And you will need to jpeg, png library. If you use ubuntu, you install library libjpeg-dev and libpng-dev.

sudo apt-get install libjpeg-dev
sudo apt-get install libpng-dev

Installation

To obtain and build the bindings:

git clone https://github.com/Francis0121/nornenjs.git
cd nornenjs
node-gyp configure build

or install it via npm:

npm install nornenjs

Use libraries