Skip to content

Instantly share code, notes, and snippets.

uniform sampler2D t_oPos;
uniform sampler2D t_pos;
uniform vec3 leader;
varying vec2 vUv;
const float size = 1. / 21.;
const float hSize = size / 2.;
npm http GET https://registry.npmjs.org/exercise/3d-front-face
npm http GET https://registry.npmjs.org/exercise/blend-basics
npm http GET https://registry.npmjs.org/exercise/buffer-attributes
npm http GET https://registry.npmjs.org/exercise/3d-cull-face
npm http GET https://registry.npmjs.org/exercise/buffer-create
npm http GET https://registry.npmjs.org/exercise/buffer-elements
npm http GET https://registry.npmjs.org/exercise/challenge-0
npm http GET https://registry.npmjs.org/exercise/buffer-interleaved
npm http GET https://registry.npmjs.org/exercise/challenge-1
npm http GET https://registry.npmjs.org/exercise/buffer-draw
npm http GET https://registry.npmjs.org/npm
npm http 200 https://registry.npmjs.org/npm
npm http GET https://registry.npmjs.org/npm/-/npm-2.1.6.tgz
npm http 200 https://registry.npmjs.org/npm/-/npm-2.1.6.tgz
npm ERR! error rolling back Error: EACCES, unlink '/usr/local/lib/node_modules/npm/html/api/bin.html'
npm ERR! error rolling back [email protected] { [Error: EACCES, unlink '/usr/local/lib/node_modules/npm/html/api/bin.html']
npm ERR! error rolling back errno: 3,
npm ERR! error rolling back code: 'EACCES',
npm ERR! error rolling back path: '/usr/local/lib/node_modules/npm/html/api/bin.html' }
npm ERR! Error: EACCES, unlink '/usr/local/lib/node_modules/npm/node_modules/char-spinner/LICENSE'
sudo curl -L npmjs.org/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 193 100 193 0 0 526 0 --:--:-- --:--:-- --:--:-- 527
100 6044 100 6044 0 0 4688 0 0:00:01 0:00:01 --:--:-- 6915
tar=/usr/bin/tar
version:
bsdtar 2.8.3 - libarchive 2.8.3
install npm@latest
fetching: http://registry.npmjs.org/npm/-/npm-2.1.6.tgz
sudo curl -L npmjs.org/install.sh | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 193 100 193 0 0 511 0 --:--:-- --:--:-- --:--:-- 510
100 6044 100 6044 0 0 3823 0 0:00:01 0:00:01 --:--:-- 140k
tar=/usr/bin/tar
version:
bsdtar 2.8.3 - libarchive 2.8.3
install npm@latest
fetching: http://registry.npmjs.org/npm/-/npm-2.1.6.tgz
==============================
= ~~~~~ webgl-workshop ~~~~~ =
==============================
[?] We're about to populate this directory with some code for you to use for
your answers. If they've already been created then don't worry, they won't
be replaced. Continue? Yes
Done! Booting up the workshop in your browser in just a second...
fs.js:438
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EMFILE, too many open files '/Users/isaaccohen/npm/webgl-workshop/node_modules/glslify/index.js'
at Object.fs.openSync (fs.js:438:18)
at Object.fs.openSync (/Users/isaaccohen/npm/webgl-workshop/node_modules/cpr/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js:68:26)
at Object.fs.readFileSync (fs.js:289:15)
at Object.Module._extensions..js (module.js:473:44)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
==============================
= ~~~~~ webgl-workshop ~~~~~ =
==============================
[?] We're about to populate this directory with some code for you to use for
your answers. If they've already been created then don't worry, they won't
be replaced. Continue? Yes
Submission File: /Users/isaaccohen/npm/webgl-workshop/answers/intro-hello-webgl/index.js index.js:13159
Google Analytics: enabled index.js:13048
Failed to load resource: net::ERR_CONNECTION_REFUSED http://localhost:14921/@exercise/intro-hello-webgl/_open/submission
Uncaught Error: Internal XMLHttpRequest Error index.js:13484
Failed to load resource: net::ERR_CONNECTION_REFUSED http://localhost:14921/@exercise/intro-hello-webgl/_open/submission
Uncaught Error: Internal XMLHttpRequest Error index.js:13484
Failed to load resource: net::ERR_CONNECTION_REFUSED http://localhost:14921/style.css
npm start
> [email protected] start /Users/isaaccohen/npm/webgl-workshop
> node node.js
==============================
= ~~~~~ webgl-workshop ~~~~~ =
==============================