Skip to content

Conversation

@ngokevin
Copy link
Member

@ngokevin ngokevin commented Jul 3, 2018

Description:

See #1927

Shortcut link to animation.js source.

Shortcut link to new animation docs

Changes proposed:

Performance:

15FPS vs 43FPS with large memory savings

a-animation

15FPS, lots of memory consumption due to parsing, going through .setAttribute.

screen shot 2018-08-15 at 3 24 19 pm

Animation component

43FPS, little memory consumption from animations, leveraging ability to do direct value animations.

screen shot 2018-08-15 at 3 23 37 pm

TODO:

  • Unit tests.
  • Docs.
  • Update all examples.

Later, move core mixin code from ANode to AEntity.

@ngokevin ngokevin force-pushed the animation branch 3 times, most recently from 10cab03 to 88ca2a8 Compare August 15, 2018 22:16
@ngokevin ngokevin changed the title [wip] animation (#1927) animation component, removes <a-animation> (#1927) Aug 15, 2018
@ngokevin
Copy link
Member Author

ngokevin commented Aug 15, 2018

This is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants