ScratchData LogoScratchData
Back to SpiritSK's profile

Smooth Rotation

SPSpiritSK•Created November 29, 2024
Smooth Rotation
131
90
1363 views
View on Scratch

Instructions

Drag the smiley face and watch the cat dango point towards it smoothly! Press space/Click the button to cycle between 3 rotation modes: - Rotate at a constant speed, with max speed - Rotate smoothly - Rotate smoothly with spring physics

Description

This is basically a PID (Proportional Integral Derivative) controller. The smoothing factor, acceleration factor, and damping factor must be a positive number between 0-1.

Project Details

Project ID1104013258
CreatedNovember 29, 2024
Last ModifiedApril 25, 2025
SharedNovember 29, 2024
Visibilityvisible
CommentsAllowed