This is code to control an earthquake simulator I made with the Lego WeDo robot kit. You can see a video of it in action here: https://vimeo.com/131685449 Place an object on the grey platform, then click on a number from 1 to 9 to choose the intensity of earthquake you want. Click 0 to stop the simulator. You will need to hold onto the non-moving part of the simulator to keep it still, or find some way to fasten it in place. You could use a simulator like this to have a quake-proof model building competition. Who can build the tallest building that won’t fall over? To see how I built it, look at the various photos I’ve put in the project as backgrounds. Also note, that the numbers do not correspond to any real-life seismic intensity scale. I cannot accept responsibility if you use this simulator to test a construction that subsequently collapses. You have been warned!
A Komaba original. If you know who invented this kind of earthquake simulator, please let me know and I will add a credit.