ScratchData LogoScratchData
Back to kriblo_test's profile

Example: Simple Pen Candy Cane Animation

KRkriblo_test•Created November 29, 2020
Example: Simple Pen Candy Cane Animation
11
7
256 views
View on Scratch

Instructions

While making the "Meanwhile, in Gingerbread Land..." project ( https://scratch.mit.edu/projects/456094697/ ), I thought that this candy cane might serve as a simple example of how you can use the sine function to achieve smooth movement in your pen animations. See commented code inside. I've also used named variables instead of constant values, which should give you a good idea of what's happening in the code. All code by me (@kriblo).

Project Details

Project ID456305283
CreatedNovember 29, 2020
Last ModifiedDecember 18, 2024
SharedNovember 30, 2020
Visibilityvisible
CommentsDisabled