Last active
October 9, 2023 00:02
-
-
Save maxdee/604a8122549139cebdcfc491d780b90e to your computer and use it in GitHub Desktop.
Launch Processing sketch from terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Place this file in a sketch folder and run it to launch your sketch | |
# You need to have processing-java installed https://github.com/processing/processing/wiki/Command-Line | |
# Usefull for developement when using other editors like Atom | |
# Usefull for launching with ssh, "DISPLAY=:0 ./plaunch.sh" | |
# Usefull for automaticaly launching a sketch on computer startup, | |
# specialy if you wish to be able to edit something in a .pde file and avoid having to re-export a application | |
processing-java --sketch="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" --output=/tmp/processing --force --run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment