Euglena control applet
Go to file
2017-01-08 17:31:18 -08:00
.idea Add more comments 2017-01-08 16:29:41 -08:00
lib Calibrate works? 2016-07-10 00:36:44 -07:00
src Add mouseDragged handler and add code for freehand drawing and erasing 2017-01-08 17:27:15 -08:00
.gitignore Wrote some comments and added compile instructions to the readme 2017-01-08 15:37:35 -08:00
LICENSE.md Added GPL license 2016-04-12 16:19:06 +02:00
processing-intellij.iml Start javaifying 2016-07-09 17:16:15 -07:00
README.md stop being embarrasing in the readme 2017-01-08 17:31:18 -08:00

Euglena control applet

This is intended for use with euglena projector + microscope systems as developed by the Riedel-Kruse lab.

Written in Java and using the Processing 3 library

I (Jan Peykiewicz, anewusername at gmail) wrote this version in mid-2016, but don't really work on this project...

I haven't tested the below commands on windows, but they should be direct translations of the linux commands (which do work).

Features

  • Multiple windows (so that moving the control window around doesn't move what's on the projector.
  • Drawing using primitive shapes (lines, ellipses) and arbitrary colors.
  • Freehand drawing and erasing

Compiling

You'll need a recent JDK (eg. 1.8).

On linux,

cd src/
javac -cp .:../lib/*:../lib/video/library/*:../lib/serial/library/*:../lib/opencv_processing/library/* EuglenaApplet.java

On windows,

cd src\
javac -cp .;..\lib\*;..\lib\video\library\*;..\lib\serial\library\*;..\lib\opencv_processing\library\* EuglenaApplet.java

Running

On linux,

cd src/
java -cp .:../lib/*:../lib/video/library/*:../lib/serial/library/*:../lib/opencv_processing/library/* EuglenaApplet

On windows,

cd src\
java -cp .;..\lib\*;..\lib\video\library\*;..\lib\serial\library\*;..\lib\opencv_processing\library\* EuglenaApplet

Cleanup

On linux, rm src/*.class

On windows, del src\*.class

Troubleshooting

If everything goes dark when you start the program, try alt-tab to switch between windows, it probably just fullscreened a black window.