Skip to content
Browse files

..

  • Loading branch information...
1 parent 42faebc commit 7a729e1ff5e98509a751f044b655d6bab266c176 @gka committed May 21, 2012
Showing with 24 additions and 2 deletions.
  1. +7 −1 README.md
  2. +17 −1 sketch/p9.py
View
8 README.md
@@ -1,4 +1,10 @@
processing.py
=============
-Jython-wrapper around Processing
+Jython-wrapper around Processing
+
+## Installation notes
+
+* install Jython
+* download core.jar from Processing
+* update the CLASSPATH in ``run`` according to your Jython installation
View
18 sketch/p9.py
@@ -1,4 +1,20 @@
-import sys
+"""
+This module wraps global processing.core.PApplet methods inside.
+global functions.
+
+Differences to Processing:
+- global attributes won't work. Instead you must use the following
+
+ mouse.x
+ mouse.y
+ mouse.px
+ mouse.py
+ mouse.pressed
+ mouse.btn
+ env.frameRate
+ env.frameCount
+
+"""
_p9inst = "foo"

0 comments on commit 7a729e1

Please sign in to comment.
Something went wrong with that request. Please try again.