![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
A lightweight, bare bones, javascript animation engine with some handy easing functions.
A lightweight ( 5kb minified ), bare bones, javascript animation engine with some handy easing functions.
const tween = Tweeny.to({ foo: 24, bar: 50 }, 1000, {
foo: 42,
bar: 100,
onUpdate: (obj) => console.log(obj.foo, obj.bar),
onComplete: (obj) => console.log('Done!', obj),
ease: Tweeny.ease.inOutElastic
})
// tween.pause()
// tween.play()
// tween.restart()
// tween.loop()
// tween.kill()
Each created tween has a set of controls available:
Method | Description |
---|---|
pause() | pause playing animation |
play() | play paused animation |
restart() | restart playing or paused animation |
loop() | loop animation until killed |
kill() | kill animation |
Some helpful easing functions from https://gist.github.com/gre/1650294
Accessible through Tweeny.ease
Ease | Description |
---|---|
linear | no easing, no acceleration |
inQuad | accelerating from zero velocity |
outQuad | decelerating to zero velocity |
inOutQuad | acceleration until halfway, then deceleration |
inCubic | accelerating from zero velocity |
outCubic | decelerating to zero velocity |
inOutCubic | acceleration until halfway, then deceleration |
inQuart | accelerating from zero velocity |
outQuart | decelerating to zero velocity |
inOutQuart | acceleration until halfway, then deceleration |
inQuint | accelerating from zero velocity |
outQuint | decelerating to zero velocity |
inOutQuint | acceleration until halfway, then deceleration |
inElastic | elastic bounce effect at the beginning |
outElastic | elastic bounce effect at the end |
inOutElastic | elastic bounce effect at the beginning and end |
inSin | accelerating from zero velocity |
outSin | accelerating to zero velocity |
inOutSin | acceleration until halfway, then deceleration |
FAQs
A lightweight, bare bones, javascript animation engine with some handy easing functions.
The npm package tweeny.js receives a total of 2 weekly downloads. As such, tweeny.js popularity was classified as not popular.
We found that tweeny.js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.