jsobj
is a wrapper abstraction for pdjs
that provides a smoother experience when using JavaScript in Pure Data patches.
- Creates the JavaScript file if it doesn't yet exist.
- Opens your editor with the JavaScript file open.
- Has an 'edit' button to open it again if you close it.
- Live-reload toggle which continuously recompiles the JS every time it is saved.
- Has a nice boilerplate JS file with good pdjs examples.
See the jsobj
help file for more details.
- Create a new
[jsobj]
object in your patch - The abstraction will automatically create a JavaScript file if none exists
- Click the edit button to open your editor
- Write JavaScript code using the pdjs API
- Save changes - they'll be automatically reloaded if live-reload is enabled
- Pure Data
- pdjs external
- ggee/shell external
- Text editor
$EDITOR
Shell environment set
Use Deken to install.