Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Metric7/ThreeNodes.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

482 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#ThreeNodes.js screenshot version 0.1.0

This is an attempt to make something like "vvvv" in javascript, html and webgl.

Live demo: http://idflood.github.com/ThreeNodes.js/

Key principles

  • modular
  • creating a custom "node" must be as easy as possible
  • should be possible to switch interface for live performance (selection of buttons/toggle)

Some ideas

  • local timelines ?
  • grouping (multiple nodes in one, possibility to have multiple instances)
  • some kind of library panel like in flash to manage images/fonts/groups...
  • preloader
  • maybe add processingjs.org as an alternative to three.js

Development setup

This will automatically compile coffescript files to javascript, sass to css and haml to html.

  1. install node.js 0.6.x (http://nodejs.org/)
  2. install npm (https://github.com/isaacs/npm)
  3. install coffeescript (http://jashkenas.github.com/coffee-script/)
  4. install jade globally: sudo npm install -g jade
  5. cd in ThreeNodes
  6. npm install -d

Usage

  1. cd in ThreeNodes
  2. node server.js
  3. with firefox or chrome go to http://localhost:3000/
  4. allow this site to create popups (for webglrender node)

Build / Deploy

  1. cd in ThreeNodes
  2. node server.js build
  3. a new /output_static should have been created

Build annotated sources

  1. install docco and dependancies
  2. docco src/scripts/threenodes/.coffee src/scripts/threenodes//*.coffee
  3. cp docs/App.html docs/index.html

Known limitations

Howto create a simple scene

First, create a webglrenderer node. Then add a scene and connect it to the "scene" of the webgl node. On the scene children you would connect a "merge" and to it a mesh. With that there should be a red cube showing in the renderer window.

About

vvvv "clone" in javascript/webgl

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors