Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
gka committed May 21, 2012
1 parent 42faebc commit 7a729e1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
8 changes: 7 additions & 1 deletion 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
18 changes: 17 additions & 1 deletion 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"

Expand Down

0 comments on commit 7a729e1

Please sign in to comment.