Has anyone experimented slow canvas performance using reagent? Here is what I did:
I has a web component that draws a canvas using webGL. The web component has an r/atom which loads the 3D model to be draw. Some other web components controls the 3D model r/atom, such as which layer to be highlighted. When the 3D model first loaded into the r/atom, performance is good. After the other web controls modified the r/atom couple times, the canvas become very laggy. Here is my web components: https://github.com/gzmask/embodier/blob/master/src/cljs/embodier/webcomponents.cljs and Here is my Canvas drawing function: https://github.com/gzmask/embodier/blob/master/src/cljs/embodier/canvasdraw.cljs Any insight of why reagent impacts the canvas performance would be greatly appreciated! -- 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.
