Prototype Library
in
Library and Tool Development
•
1 years ago
Hello folks,
I would like to share with you something I have been working in the last couple of days, or nights. Basically it is a library that allows you to quick sketch UI like interactions in Processing. There is also a Tweener library built in with support to callbacks and blocking events.
I have just put this together this weekend and it is far from being bug free. With that said, I would love to hear your feedback on possible features and if you see yourself using something like this. So far, this is what is included in the package:
Generate graphics based on blueprints that can be reutilized;
tween fields with support to callbacks and blocking the UI (optional);
Adding parts and subparts. All the transformations are handled by the library.
Changing the pivot point of any part at runtime;
Change properties like x, y, alpha, width, scale... etc.
'Relative to' point. This is trick to explain, but it basically attaching the pivot point of a child to a point in the parent.
Support to mouse events, including mouse wheel.
Support to Part events (on clicked, on pressed, etc) with support to arbitrary shapes (non square stuff).
There is an example included with some comments on it. If you would like to contribute, feel free to drop me a line.