Better HN
topnewbestaskshowjobs
Log inSign up

lvivski

169 karma · joined Jun 16, 2010 (16y ago) · 45 submissions

Submissions

1.

The Golden Quarter (2014)(aeon.co ↗)

3 points · by lvivski · 5y ago · discuss

2.

Realtime CSS Animations Editor(vimeo.com ↗)

4 points · by lvivski · 13y ago · discuss

comment 13y ago · link · parent

http://lvivski.com/anima

By the way it's the only to support physics in animations

comment 13y ago · link · parent

Gloss supports standard CSS syntax with addition of mixins, variables and calculations. Rework is more about "create your own CSS"

comment 13y ago · link · parent

It just shows the power of css, so you can even recreate animated gifs in CSS

comment 13y ago · link · parent

Dart syntax is familiar and it's a plus, you don't have to learn new syntax quirks.

comment 13y ago · link · parent

:) well I have no test for now, but there will be test for route parsing and other stuff.

comment 13y ago · link · parent

Dart is a language and a platform behind it. It's really easy do develop advanced applications in Dart and then translate them to javascript. But you are also able to run it in a separate VM.

comment 13y ago · link · parent

Those graphs show the opposite. DartVM is the fastest among the three "dart, js, dart2js", then comes Dart2js due to highly optimizable generated code, then handwritten javascript

comment 13y ago · link · parent

Well, Start uses another project called Hart [1] template engine that has syntax similar to Slim or Jade. And I'm going to include Gloss [2] there too, it's a CSS preprocessor, but it's not stable yet.

[1] http://github.com/lvivski/hart [2] http://github.com/lvivski/gloss

11.

Start — Dart web framework inspired by Sinatra(github.com ↗)

42 points · by lvivski · 13y ago · 27 comments

comment 13y ago · link · parent

It's more like "Handwritten Javascript vs Dart2JS generated Javascript" and the latter is better optimized

13.

Dart2js is faster than V8 in DeltaBlue test(dartlang.org ↗)

56 points · by lvivski · 13y ago · 38 comments

comment 13y ago · link · parent

Yes, these libraries are very good, but they don't generate "@keyframes", Anima does in CSS mode.

And as far as I see they have no parallel animations like http://lvivski.github.com/anima/example/parallel.html. The ball moves forward with lenear timing-function, and up/down with ease-quad, so is slows down when on top and speeds up when falls down

comment 13y ago · link · parent

Thanks for your feedback! You can post issues on github, if you have and troubles or questions.

comment 13y ago · link · parent

Pure CSS animations can be paused and resumed via Javascript. It's not trivial to stop them and preserve last known state of the node, and apply next animation so that is starts with that state.

Controling CSS Transitions is even more difficult and requires multiple actions like: remember current transform, remove transition, apply remembered transform etc.

Yes, CSS Animations have events for animation start and end, but Anima gives intermediate events, for any transformation in a set.

So it's not impossible to control CSS animations, but it's much easier with Anima. In `CSS` mode Anima has `pause()` `resume()` and `stop()` methods

comment 13y ago · link · parent

It can do both: generate pure CSS Animations and animate items via Javascript, CSS 3d transforms and requestAnimationFrame.

18.

Anima — tool for CSS3 Animations(lvivski.github.com ↗)

41 points · by lvivski · 13y ago · 7 comments

comment 13y ago · link · parent

I can do both, generate pure CSS3 animations, and animate items through Javascript, CSS 3d transforms and requestAnimationFrame

comment 13y ago · link · parent

It can create animations using pure css or use requestAnimationFrame to animate. Here are examples http://lvivski.github.com/anima/#examples
12