Skip to content

Commit

Permalink
rework of classes, make events on every object possible
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzyma committed Nov 5, 2018
1 parent edc9454 commit 4049e2e
Show file tree
Hide file tree
Showing 28 changed files with 1,388 additions and 1,357 deletions.
3 changes: 3 additions & 0 deletions dirty.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@
earth.animate(10000).loop().ease('-')
.transform({rotate: 360, origin: [500, 300]}, true)
.transform({rotate: 720, origin: 'center'}, true)
.on('step', (e) => {
// console.log(e)
})

moon.animate(10000).loop().ease('-')
.transform({rotate: 360, origin: [500, 300]}, true)
Expand Down

0 comments on commit 4049e2e

Please sign in to comment.