Giter VIP home page Giter VIP logo

processing-js's Introduction

Processing.js

EXPERIMENTAL NODE COMPILE BRANCH

This is an experimental branch for Processing.js that builds up Pjs as a series of modules, rather than existing as one large file.

Clone the usual way, check out the nodecompile branch, install the node packages with npm install. Then it's a fairly straight forward process:

  1. Lint: $> grunt
  2. Test: $> node test

If step 1. gives you a "grunt: command not found" or similar error, run npm install -g grunt-cli to make sure grunt is globally installed as CLI command.

The test script accepts the following arguments:

  • --test=testfile.pde runs one specific test
  • --nobuild does not build Pjs if all tests pass
  • --failonerror terminates the run if any error occurs.
  • --noref will not start a server process and a browser for doing ref testing.
  • --noautoref will start a server and a browser for ref testing, but doesn't auto-start the tests.

You can also perform the post-unit-test steps manually:

  • Build processing.js: $> browserify build.js -o processing.js
  • Minify processing.js: $> node minify
  • Run test server: $> node server

In the browser

With the test server running, the following urls are good to know:

Note: this branch is still under development.

processing-js's People

Contributors

jbuck avatar corbanbrook avatar annasob avatar pomax avatar notmasteryet avatar scottdowne avatar asydik avatar dhodgin avatar lonnen avatar zbhuang1 avatar archanasahota avatar eligrey avatar jmchen4 avatar dasl- avatar tdao75 avatar dcbarans avatar jeresig avatar minoo avatar gkrilov avatar asalga avatar jonbro avatar jboelen avatar guilhermef avatar jli avatar norgg avatar abelnation avatar mbrzuzy avatar nottombrown avatar techtonik avatar rsodre avatar

Watchers

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