Processing in Jupyter notebook

  1. Install python3
  2. Install jupyter note
  3. Install calysto_processing
  4. Install Processing & processing-java(Mac user)
  5. Write Processing code

In my case, I’m using pyenv to use python2 and python3, so install command is the following.

How to install pyenv
https://github.com/pyenv/pyenv

$ pyenv install 3.6.1
$ pyenv global 3.6.1

$pyenv global 3.6.1

Then install python packages via pip

$ pip install jupyter notebook
$ pip3 install --upgrade calysto_processing --user
$ python3 -m calysto_processing install --user

Of course, we need to install Processing.

Image for post
Image for post

After installing processing-java need to export the path of processing-java

$ which processing-java
/usr/local/bin/processing-java
$ export PROCESSING_JAVA=/usr/local/bin/processing-java

Finally, open jupyter notebook

Image for post
Image for post

Written by

#CreativeCoding #Art #PhysicalComputing #IoT #MachineLearning #python #creativetech

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store