Str8lines
Search Results for

    Show / Hide Table of Contents

    Introduction

    What is Str8Tween ? To answer quickly it's a tween engine.
    But if you don't know about tweens and tween engines yet, here are some definitions.

    What is a tween ?

    The word "tween" comes from "between" and can be used as a noun or a verb.
    In computer graphics, animation or cinematography it's the action of generating intermediates frames in an animated sequence to obtain smooth movements.

    In mathematics it's a method of constructing new data points within the range of a set of known data points.
    An ease can be applied to a tween to modify the rate of change of the calculated data points over time.

    In Str8Tween a tween is what holds the calculations of new values and apply them to the target.
    To customise tweens I implemented Robert Penner's easing equations.
    See easings.net to visualize each easing function.

    What are tween engines ?

    According to the previous definition a tween engine can be defined as a piece of software that performs tweening.
    It provides methods to create tweens and manage them along their lifecycles.

    In This Article

    Geoffrey Lesne (Str8lines) © 2024 - All rights reserved

    • facebook logo
    • linkedin logo
    • discord logo
    contact us / Back to top