Giter VIP home page Giter VIP logo

threenodes.js's Introduction

#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.

threenodes.js's People

Contributors

idflood avatar rportugal avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.