Press escape to exit fullscreen

{{sketch.instructions}}

CC {{sketch.licenseObject.short}}

Archived Sketch

This sketch is created with an older version of Processing,
and doesn't work on browsers anymore.

View Source Code

Click capture
to take a screenshot

Simple Harmonic Motion

{{$t('general.by')}}
// based on "Pendulum Waves" http://j.mp/lxZfTY // including all numbers (0.85Hz for slowest pendulum, 1.083Hz for fastest) // if the above shortened link dies, try: http://sciencedemonstrations.fas.harvard.edu/icb/icb.do?keyword=k16940&;pageid=icb.page80863&pageContentId=icb.pagecontent341734&state=maximize&view=view.do&viewParam_name=indepth.html#a_icb_pagecontent341734 // processing sketch by Memo Akten, May 2011. http://www.memo.tv // built with // processing 1.5 - http://www.processing.org/ // TheMidiBus library - http://smallbutdigital.com/themidibus.php
{{$t('general.eg',["mouse, keyboard"])}}
{{$t('general.eg',["visualization, fractal, mouse"])}}
{{$t('general.learnMoreAbout')}} Creative Commons
{{$t('sketch.privateURLDescription')}}
{{$t('sketch.privateURL-pleaseSave')}}
We recovered an unsaved version of this sketch. Please review your changes below.
  • {{v.title}}

As a Plus+ Member feature, this source code is hidden by the owner.

  • {{co.title}}
    {{$t('sketch.mode-pjs')}} {{$t('general.learnMore')}}
    Select mode or a template
    • {{t.title}}
      {{t.description}}

    • {{t.title}}
      {{t.description}}
    • {{l.url.substr(l.url.lastIndexOf('/') + 1)}}

    {{$t('sketch.saveToUpload')}}

    Drop files here or select

    • {{f.name}}{{Math.round(f.size / 1024 / 1024 * 100) / 100 + ' mb'}}
      {{f.errorMessage}}
    {{$t('sketch.layoutDescription')}}

    {{k.category}}
    {{k.label}}
    {{k.description}}

    {{$t('sketch.seeMoreShortcuts')}}

    Versions are only kept for 7 days.
    Join Plus+ to keep versions indefinitely!

    {{$t('general.joinPlus')}}


    {{$t('sketch.versionsSummarized')}}