Awesome
Experimental package for running hydra in atom text editor.
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
Installing atom-hydra !UPDATED!
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:
On Pulsar
- 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
Windows users
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
On Atom (last version)
(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
Running atom-hydra
- 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
Error: camera and mic not working on OSX
See the instructions and thread at: https://github.com/hydra-synth/atom-hydra/issues/35#issuecomment-941006156
Error: webgl not supported
Try running atom from the command line as follows:
atom --ignore-gpu-blacklist
Error: node not found
Install nodejs
Code for editor styling and osc channels lovingly derived from some other wonderful live coding packages: