Welcome members of the Science club! This is a basic code for A Simple Harmonic Oscillator. You can look at the code of the project by clicking on 'See Inside' (Purple button). donuts
'w' is the frequency. 'A' is the amplitude. 't' is the time.You cannot change this by a slider as this will alway be steadily increasing. But feel free to go in the code, make it a slider and see what happens! More Tutorials and Projects coming soon! You can follow my account to get notifications about new projects for the Science club. donuts