ScratchData LogoScratchData
Back to chooper-beta's profile

Oscillation Using Sine

CHchooper-beta•Created July 21, 2015
Oscillation Using Sine
10
3
161 views
View on Scratch

Description

This is a demo project for how to create oscillation (backwards and forwards motion) using sine. See inside for an explanation of the formula. Advantages of using sine: ▶ It is an easy way to create smooth oscillating motion ▶ You DO NOT need to create or change any variables - all you need is the timer and maths ▶ It gives you much greater control over the amplitude and speed than other methods ▶ It runs independent of loop speed. What this means is that if I activate turbo mode, it won't move faster. Instead, it will move smoother. ▶ You get the chooper approval for using it ;) Disadvantages of using sine: ▶ It relies on the timer not being reset whilst oscillating. This IS workaround-able though. ▶ The maths might be hard to understand if you have not learnt about trigonometry.

Project Details

Project ID71022208
CreatedJuly 21, 2015
Last ModifiedJuly 24, 2015
SharedJuly 21, 2015
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root