{"id":1389,"date":"2010-07-05T19:27:23","date_gmt":"2010-07-05T19:27:23","guid":{"rendered":"http:\/\/web.ist.utl.pt\/~Pedro.Lopes\/blog\/?p=1389"},"modified":"2021-08-10T21:38:26","modified_gmt":"2021-08-10T21:38:26","slug":"physical-simulation-turntable-motion1","status":"publish","type":"post","link":"https:\/\/plopesmusic.org\/?p=1389","title":{"rendered":"Physical simulation: turntable motion#1!"},"content":{"rendered":"<p>Entering the world of physics&#8230;. is always a bit tough. Although simulating a turntable mechanism is not a very tricky mechanism to mimic (I&#8217;m currently just copying the inner works of a direct-driven motor). The AS3 physics engine is Box2Das3 which is a direct port of the Box2d original one, written in C++.<\/p>\n<p><a href=\"http:\/\/plopesresearch.levelup.webfactional.com\/wp-content\/uploads\/2010\/12\/nha1.png\"><img loading=\"lazy\" class=\"alignnone  wp-image-1825\" alt=\"Physical simulation: turntable motion#1!\" src=\"http:\/\/plopesresearch.levelup.webfactional.com\/wp-content\/uploads\/2010\/12\/nha1.png\" width=\"599\" height=\"323\" srcset=\"https:\/\/plopesmusic.org\/wp-content\/uploads\/2010\/12\/nha1.png 998w, https:\/\/plopesmusic.org\/wp-content\/uploads\/2010\/12\/nha1-300x161.png 300w, https:\/\/plopesmusic.org\/wp-content\/uploads\/2010\/12\/nha1-220x118.png 220w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p style=\"text-align: center;\">(this object already behaves pretty much like a moving motor that can be applied with force(s) from the user interaction)<\/p>\n<p>After laying out a few drawings for understanding the forces in the equation, my first few attempts generated a quite interesting result, although there&#8217;s a lot of configuration to do to allow the torque to behave like a turntable model motor, pitch adjust, normalize velocity, compensate brake power, shutdown feature, etc&#8230; (and maybe include a platter for fine tuning the speed&#8230;)<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Entering the world of physics&#8230;. is always a bit tough. Although simulating a turntable mechanism is not a very tricky mechanism to mimic (I&#8217;m currently just copying the inner works of a direct-driven motor). The AS3 physics engine is Box2Das3 which is a direct port of the Box2d original one, written in C++. (this object [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1828,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[200],"_links":{"self":[{"href":"https:\/\/plopesmusic.org\/index.php?rest_route=\/wp\/v2\/posts\/1389"}],"collection":[{"href":"https:\/\/plopesmusic.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plopesmusic.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plopesmusic.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/plopesmusic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1389"}],"version-history":[{"count":1,"href":"https:\/\/plopesmusic.org\/index.php?rest_route=\/wp\/v2\/posts\/1389\/revisions"}],"predecessor-version":[{"id":3426,"href":"https:\/\/plopesmusic.org\/index.php?rest_route=\/wp\/v2\/posts\/1389\/revisions\/3426"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/plopesmusic.org\/index.php?rest_route=\/wp\/v2\/media\/1828"}],"wp:attachment":[{"href":"https:\/\/plopesmusic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plopesmusic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plopesmusic.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}