ScratchData LogoScratchData
Back to thistleeverfreen's profile

Crazy Motion tweens

THthistleeverfreen•Created January 21, 2015
Crazy Motion tweens
11
7
265 views
View on Scratch

Instructions

A proof of concept for Quadratic Motion Tweens in Scratch. Change the Time and Progression variables to affect the easing of the motion. Interestingly, Progression values outside of the range of 0 and 100 produce a "slingshot effect" Progression < 0 : Slingshot in Progression < time : Ease in Progression = time : Linear tween Progression > time : Ease out Progression > 100 : Slingshot out Changing the framerate will require you to restart the project.

Description

Typically, Motion Tweening is a feature that is used in the context of Adobe Flash. Scratch does provide a linear tween (the glide to block), but with no easing. With the help of the internet, I have brought this feature to Scratch using the quadratic formula, along with some calculus. In previous projects, I have created tools to draw bezier curves in Scratch. By creating bezier curves to map points through space AND time, cool easing patterns for animations can be created. I have considered implementing tweening along a bezier curve, though this would require even more maths to divide the curve into equally spaced line segments. Motion tweens along a cubic bezier curve would require the cubic equation, which is difficult without a cube root function.

Project Details

Project ID44237598
CreatedJanuary 21, 2015
Last ModifiedSeptember 17, 2016
SharedFebruary 1, 2015
Visibilityvisible
CommentsAllowed