Main components of this project are three:
Helper folders:
Hardware setup contains of a computer running a capable OpenGL card (Nvidia?) with two displays. One is a multitouch display device (1920x1080 but not necessary), the other is either a simple display monitor or a projector capable of 60fps at FullHD (1080p). Underlaying OS is Linux.
I personally do the following - I access everything through a remote laptop, loging in through ssh and running:
export DISPLAY=":0.1"
(this is actually not very necessary, but the following is:
edit ~/.processing/preferences.txt
and change run.display=1
accordingly. I have it on 1, since 0 is my 'primary' display, which is the touchscreen.
See an example xorg.conf
Processing applet is run remotely by using two small bash scripts:
#!/bin/bash
if [[ -z $1 ]]; then
echo "error. no argument."
echo "need the sketch path"
else
export DISPLAY=":0"
~/src/processing-2.2.1/processing-java \
--force \
--sketch=$1 \
--run \
--output=$1/output
fi```
and
* processing-runsketch_IF3.sh *:
```#!/bin/bash
while (true)
do
# clear
processing-runsketch.sh ~/PROJECTS/IF3Si/pde/IF3Si/
echo
echo "~~~ Program has quit. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "
echo
done```
.