- First download and install Processing. Once it's installed run it! Make sure you grab the appropriate installer for your Mac. There are different builds for the M1 versus Intel machines.
- In Processing, go to the
Tools
menu and click"Install processing-java"
. This will addprocessing-java
to your$PATH
. To test this works, open yourTerminal.app
and typeprocessing-java
on the command line. You should see a block of text showing processing commands and options. If you see that, go to the next step. - With Processing open, verify where Processing is looking for your sketches. Open Preferences (
⌘ + ,
) in Processing and at the top of the dialog, you'll Sketchbook location. This is where Processing expects to find all your Sketches. It's also where your Libraries for Processing are added. So change the location if you need to, but otherwise, remember this path!
- Visit the HYPE project page on Github and download it.
- Unzip and copy the HYPE folder into the libraries folder in the Processing sketchbook. You will need to create this libraries folder if it does not exist. The folder structure for your Sketches location looks something like this:
Processing
libraries
HYPE
examples
library
HYPE.jar
reference
src
- After HYPE has been successfully installed, restart the Processing application.
- Open Sublime.
- Either click
Tools
thenCommand Palette
or type⌘ + ⇧ + P
to open the command palette and choose to install Package Control and hit enter. - With Package Control installed, now open the Command Palette again and type
install package
. Run the menu item that says,Package Control: Install Package
. - A new dropdown menu appears. Type
Processing
and select the Processing language support from that menu.
Now you have Processing support in Sublime! To run a sketch, type ⌘ + ⇧ + B
and select Processing from the menu that appears. Your sketch should build and run!
If everything worked correctly, you should see your Processing output open just as it would if you were working right within the Processing app.