Also includes p5.js, support for OSC channels, and for live coding with javascript in general.
For example usage, see: https://github.com/ojack/hydra-examples
For browser version, see: https://github.com/ojack/hydra
This package will continue to be sporadically maintained for the time being. In the future, it will hopefully work with community forks of atom.
It is no longer possible to publish packages to the atom package registry. Instead, you must update atom hydra manually. Here are the steps for doing that:
- Make sure that
apm
(atom package manager) is installed. On linux and windows, it should be automatically installed with atom. On OSX, go to the 'Atom' menu, and click 'Install Shell Commands'. - Download this repository
git clone https://github.com/hydra-synth/atom-hydra.git
- Enter the atom directory
cd atom-hydra
- Load this package
apm link .
- Restart atom
- restart atom
- packages > atom-hydra > toggle
- create a file ending with .js in atom
- type
osc().out()
- ctrl-enter to run block of code
- shift-enter to run a line of code
- ctrl-h to show and hide code
See the instructions and thread at: hydra-synth#35 (comment)
Try running atom from the command line as follows:
atom --ignore-gpu-blacklist
Install nodejs
Code for editor styling and osc channels lovingly derived from some other wonderful live coding packages: