Processing for Android scene graph library
in
Android Processing
•
2 years ago
Hello,
I have been working on a project for a little while which I am excited to share and hopefully get some feedback on. Basically I wanted to have a system which allowed me to not worry about any of the Android overhead or recreating interactive shapes with bounds checking if statements etc. The library I have been working on, which is tentatively called DroidGraph, is the beginning of my attempt to deal with some of these issues. The goal is to be able to have an idea for not only a sketch, but an app with custom GUIs and interactions and be able to implement it in more of a sudo code format.
The library has a few core features which might be useful right away to some people:
- multi touch MotionEvent management which parses all event data into digestible data
- built in picking system which handles all of pointer to node attaching as well as local pointer data for each node
- ActionListening interfaces for easy implementation of gui features
- scene graph management of node groups including transformations like translation, scale, rotation etc.
and for HoneyComb users, the library has the needed methods to support 3.x Animation classes which makes for very cool, and extremely easy to make animated user interfaces and drawings.
This is currently very much in the early stage and should be considered experimental. I will be going over tutorials and examples on my blog
http://ghostandthemachine.github.com/ and discussing more features and development. My hope from the beginning has been to have a totally open project so if anyone has any suggestions, bugs, or best of all contributions, please feel free contact me.
Refer to my blog for setting up in Eclipse and with more current Android API levels. I am having issues compiling a jar to be used with PDE, but that is on the way.
here is the github page where the library can be downloaded:
https://github.com/ghostandthemachine/DroidGraphProcessing
An example of creating a simple button can be found at
git@github.com:ghostandthemachine/SimpleButton.git. Or a jar file can be downloaded here
http://ghostandthemachine.github.com/resources/downloads/ (for some reason this isn't compiling for the PDE and Android 2.2, I am working on it though sorry).
1