Announcing Plash - A flash model framework for Processing.
in
Library and Tool Development
•
10 months ago
Dear Friends,
I had been working on this library to do my MRes assignment, but eventually it took its own way and importance. Having been a flash developer primarily, saw processing and got attracted to it. Of course my first (but not ex) girlfriend flash is not angry with it.
Since the assignment for my current module involves rendering effect data visualization with Processing, felt it would be great to have the features of flash to achieve the effect. I would say for every thing we need to accomplish graphically processing has a way more than one which sometimes could be a problem. For example setting the color where both individual color values or hexadecimal is accepted. True that you can set the mode of your choice but this is something very overwhelming for dumb developers like me trying to maintain consistency throughout the program.
Also some features like bounding boxes, masking and textfields had to be done the raw way for effective rendering and decision making. So my idea was that since processing offers a very good base/ground for drawing graphics an effective wrapper could be written to ease the development using processing(Java) such that people do not have to wonder about how to use processing (relatively to learning plash way of implementation) but rather focus on the application logic. I had to figure out a framework for adapting but fortunately the idea of flash was already there in me which I thought would be a great model. Having known the model, mechanism and the signatures of flash, I started with this mission.
To highlight, the current version of plash supports basic graphic drawing with options to draw circles, rectangles, ellipses and custom shapes with moveTo and lineTo. And other than the abilities of drawing it can render basic textfields without input'able capacity. Also it supports masking of shapes on the same level(belonging to the same parent).
With this post, what is that I wish to say?
- Happy to inform that the framework can be used.
- Would be happy for someone with greater ideas about processing in guiding this project to the next level.
- Also I am looking for people to help on the textfield implementation.
- A bigger dream is to port it for processing IDE and eventually use the same code to generate Android and Javascript (Its fair to be very greedy here)
- The final step will be to write the animation framework using the Tween library (if it exists use it, or write a new one)
The possible pitfalls that can be anticipated or to be watched out for
The library has not been tested with lots and lots of graphic objects (at least 1000 maybe?)
The library can be used only with Java environments like Netbeans and Eclipse (As of yet)
Here is the candy (hope it's not bitter)
Finally a big thanks to the processing community and to each and every one reading this post and wishing to use the library.
Regards,
#0K Srinivasan
www.hashok.com
1