danborufka / danimator Goto Github PK
View Code? Open in Web Editor NEWAdvanced vector graphics animations/interactions based on Paper.js
Advanced vector graphics animations/interactions based on Paper.js
When a property animation continues right away, the two keyframes now simply overlap:
o--o
o--o (y-axis offset demonstration)
When they should be controllable thru a single keyframe:
o--o--o
States aren't animating but rather have constant interpolation.
Internal _stateFloat to transition from one state to the other using Danimator.morph(…)
Panels aren't scrollable right now
Empty in keyframes panel right now…
Scrubbing of time gets performance hits from triggering sound
Sounds to be started asynchronously so time scrubbing isn't affected
Although every item gets a separate layer in our layer panel, the separate layers coming from Illustrator are ignored and only the first one is being used.
Have Illustrator layers translated into the scene like items are
Let's create a few Danimator examples for Github!
.growth
.attachToPath
& .offsetOnPath
frame
animationsstate
animations & morphs
When setting the state of an item's descendants, the descendants don't inherit the state.
e.g.:
bear.setState("snout.a"); // will change snout's state to "a" inside bear
bear.find("snout").state // will return undefined :(
audio.js
and move everything sound-related thereani.json
delay
, duration
, triggerName
)Danimator.load(/*w/o playing*/)
, Danimator.loadAndPlay()
, and Danimator.trigger()
onStep
has quite a few calculations that could be done on .animate
instead
Everything is mashed together now. At least one file each for:
DOM events
panel rendering
Danimator overloaders
general states
Snapping steps don't take into account that they need to be removed once keyframes' time has been tempered with.
context
parameter to Snappables.prototype.add
in order to add/remove snapping steps in a grouped fashionDanimator.editor
?
To ensure synchronous playback of video & audio
onFrame
_createTrack
for single elements rather than rerendering the whole panel every time_createProp
…_createLayer
_.template
templating by something react-based_createTrack
, _createProp
, …) by reactivityMake doubleclick of tracks edit ranges (including their naming) instead of complicatedly adding keyframes
.ani.json
)A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.