Closed zoomclub closed 10 years ago
Bacon.js is a general purpose javascript FRP library. You can adapt any event source into a bacon.js EventStream. Have a look at Bacon.fromCallback, Bacon.fromEventTarget, Bacon.Bus for starters. The readme should get you started.
On 13.10.2013, at 22.40, zoomclub notifications@github.com wrote:
BaconJS looks very interesting. Wondering how easily it might extend to support new pointer controllers like Leap Motion or a stylus like the Wacom?
Would this work or is Bacon limited to a mouse pointer and qwerty events?
— Reply to this email directly or view it on GitHub.
Great news for using alternate controllers with Bacon.js!
Further, until now, I've been looking into using a FSM API and saw that Bacon.js has a function for something along those lines too. In my scenario I would like to capture events and derive triggers from them to further transition states for various tools in my app plus also feed event streams to states.
I have been thinking of using the following API : http://statejs.org
At this junction State.js looks well baked and Bacon.js looks well fried, might just go well together? Who knows and thats a lot to explore, any insights to light the way are most appreciated, thanks.
For help and general discussion, you might try https://groups.google.com/forum/#!forum/baconjs
Tell the community about your experiences! May the force be with you.
BaconJS looks very interesting. Wondering how easily it might extend to support new pointer controllers like Leap Motion or a stylus like the Wacom?
Would this work or is Bacon limited to a mouse pointer and qwerty events?