hi! I've been following clojurescript/om for a while. I'm using clojure for a product and read everything I can find on clojurescript and om.
yesterday I finally decided to start working on something with om, after some setup problems I finally got to display an svg circle on the screen... well almost :P https://twitter.com/EventFabricApp/status/492734199150182400 after getting ahead of the issue (I wanted to be sure that svg would be feasible on all browsers before continuing) I'm planing on building a simple svg app, I'm thinking on bouncing balls or a pong game, I will try to write my experience as I work on it, but first I have some questions: * how do I handle recalculations periodically on components? a kind of tick, something with setTimeout? * how do I share some 'global' state with all components, like screen size, mouse position, current pressed keys etc.? I've seen that core.async is used a lot for this kind of things, but I get the idea (surely wrong) that for each component that wants to be notified of changes in those things will have to create a copy of the channel? if you can enlighten me on this issues or point me to examples that use mouse/keyboard/setInterval I will be really happy. thanks in advance! -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
