Skip to content

chr15m/jsobj

Repository files navigation

jsobj - Simplified JavaScript Integration for Pure Data

jsobj is a wrapper abstraction for pdjs that provides a smoother experience when using JavaScript in Pure Data patches.

Features

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

Usage

  1. Create a new [jsobj] object in your patch
  2. The abstraction will automatically create a JavaScript file if none exists
  3. Click the edit button to open your editor
  4. Write JavaScript code using the pdjs API
  5. Save changes - they'll be automatically reloaded if live-reload is enabled

Requirements

  • Pure Data
  • pdjs external
  • ggee/shell external
  • Text editor
  • $EDITOR Shell environment set

Installation

Use Deken to install.

About

JavaScript in Pure Data helper abstraction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published