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
NOTE: Atom text editor is being deprecated! However, this package should still work. 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
ppm
(pulsar package manager) is installed. On linux, it should be automatically installed with atom. On OSX, go to the 'Atom' menu, and click 'Install Shell Commands'. On windows, it doesn't work as of now, read further. If you don't want to install it because it'd name collide with perl'sppm
, replace theppm
command in the following actions withpulsar -p
. - Download this repository
git clone https://github.com/hydra-synth/atom-hydra.git
- Enter the atom directory
cd atom-hydra
- Install the dependencies
ppm install
- Load this package
ppm link .
- Restart pulsar
The pulsar package manager doesn't work on Windows as of now. You can still install following these instructions:
- Make sure that you have
npm
installed. - Download this repository
git clone https://github.com/hydra-synth/atom-hydra.git
- Enter the atom directory
cd atom-hydra
- Install the dependencies
npm install
- Copy and paste the
atom-hydra
folder toC:\Users\yourusername\.pulsar\packages
- Restart pulsar
(If you already have atom-hydra
installed through the atom GUI, uninstall it there before performing these steps.)
- 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
- Install the dependencies
apm install
- 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: #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: