Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-webcl

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-webcl - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

2

package.json
{
"name": "node-webcl",
"version": "0.8.2",
"version": "0.8.3",
"description": "A WebCL implementation for desktops with NodeJS",

@@ -5,0 +5,0 @@ "main": "webcl.js",

@@ -30,3 +30,3 @@ Introduction

- [node-webgl][NODE_WEBGL]. This module is used for samples using WebGL interoperability with WebCL.
In turns, [node-webgl][NODE_WEBGL] relies on [node-glfw][NODE_GLFW] that relies on [GLFW][GLFW], [GLEW][GLEW], [AntTweakBar][ANTTWEAKBAR], and FreeImage. See node-webgl and node-glfw for instructions on how to install these modules.
In turns, [node-webgl][NODE_WEBGL] relies on [node-glfw][NODE_GLFW] that relies on [GLFW][GLFW], [GLEW][GLEW], [AntTweakBar][ANTTWEAKBAR]. See node-webgl and node-glfw for instructions on how to install these modules.

@@ -50,15 +50,23 @@ - OpenCL 1.1 must be installed on your machine. Typically, this means your machine has a not too old graphic card (maybe not more than 3 years old) and its latest graphic drivers installed.

------------
Since OpenCL is a compute specification, rendering is not the main purpose but if you want to use graphic acceleration, you should first install node-glfw and then node-webgl and make sure some of node-webgl samples are working. See node-webgl for instructions.
Make sure GLEW, GLFW, AntTweakBar, and FreeImage libraries are in your path.
Note that installing the usual way:
- on Windows, put DLLs in Windows\System32. Put headers in <Visual Studio>\include and static librairies in <Visual Studio>\lib for 32-bit libraries (if you use node.js in 32-bit) or <Visual Studio>\lib\x64 (if you use 64-bit node.js).
- on Mac, use homebrew
brew install freeimage anttweakbar glfw3 glew
- on Linux use you package manager to install these libraries
Now install the usual way:
npm install node-webcl
will also install node-webgl and node-glfw.
this will also install [https://github.com/mikeseven/node-webgl](node-webgl), [https://github.com/mikeseven/node-glfw](node-glfw), [https://github.com/mikeseven/node-image](node-image), and [https://github.com/rvagg/nan](nan).
If you want to use the latest code, simply do
If you want to use the latest code, retrieve each repo (node-webcl, node-webgl, node-glfw, and node-image) from github and simply do
node-gyp rebuild
npm link
in node-webcl, node-webgl, and node-glfw.

@@ -65,0 +73,0 @@ A crash course on WebCL

@@ -61,3 +61,2 @@ // Copyright (c) 2011-2012, Motorola Mobility, Inc.

var Update = false;
var iRadius = 1; //???
var newWidth, newHeight; // only when reshape

@@ -64,0 +63,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc