ScratchData LogoScratchData
Back to ErrorGamer2000's profile

Bezier Glide!

ERErrorGamer2000•Created February 25, 2021
Bezier Glide!
1
1
31 views
View on Scratch

Instructions

Hello there! This is my Bezier Glide engine! How to use: 1. Save the blocks to your backpack 2. Drag them into your project 3. Add the control points for the bezier curve (https://cubic-bezier.com/) or use a preset 4. Set the glide time 5. Be amazed! Feel free to remix!

Description

How it works: The custom block called "get val of B(t) of curve (x1) (y1) (x2) (y2)" evaluates the x and y values of the curve The "smooth glide to (x), (y) for (s) seconds with bezier curve (x1) (y1) (x2) (y2)" block uses that to position the sprite. Want to see the math? https://www.freecodecamp.org/news/nerding-out-with-bezier-curves-6e3c0bc48e2f/

Project Details

Project ID493046818
CreatedFebruary 25, 2021
Last ModifiedMarch 11, 2021
SharedFebruary 25, 2021
Visibilityvisible
CommentsAllowed