Conversation
Fixed active tab on refresh
|
Most excellent. It doesn't look too low level. Browsing through your PR it appears relatively straightforward. A couple of things easeljs brings to the table are events (mouse clicks and drop events which we will need), and containers which let you nest shapes and move around according to a local coordinate system. Does Raphael do anything like that? The containers are nice, but not critical. It has let me port my mental model from the QWebView over easily here. Let me commit a couple of changes I have to master so you can get a sense for how I am using the containers. I will say I'm not happy with the crispness of easeljs. I'm not sure if I'm doing something wrong, if it is antialising or what. We need to get some of the icons in here to really see how things perform. In any case this is cruising along really well. This is a fraction of the code I had to write to get this far in Qt! |
|
I read up. Seems Raphael has what I'm looking for. I'm going to play this out a little more with Raphael. It seems much lighter weight, although one comfort I get from Easel is that there is no fear of running out of power. Easel seems to have strong momentum as a project, capable of almost an entire flash replacement. But Raphel is worth an experiment. If the lines look crisper I think I'll be sold. |
|
Yeah, Raphael should be able to do all of those things. The crispness was originally fuzzy with Raphael, too, that's why I added the half pixel offsets (it's a common issue). Same thing goes for EaselJS: http://stackoverflow.com/a/7502673/2730450 |
@kbenne See what you think - SVG is a million times easier to debug than canvas, but the commands will be slightly more low-level than Easeljs.