hapticdata/toxiclibsjs — Issue #16: use toxiclibjs with javascript processing code
Author: mickey
Created: 2011-12-03 20:14:23+00:00
State: open

I'm trying to use toxiclibs with processing.
I'm writing processing javascript code so I'm not using pde files but javascript.
Like in this exemple https://gist.github.com/1428008 taken from the processing website.

I would I integrate toxiclibs in there ?
I added the toxiclibs.js file but when doing

```javascript
new toxi.Rect(x * cell_size, y * cell_size, cell_size, cell_size);
```

nothing happens.

I suspect I need to initialize toxi but nothing worked so far.

Any idea ?