Bot that tweets simualted pendulums as STLs, and then pushes the results here!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes
.gitignore
2018-02-23.scad
2018-02-23.stl
2018-02-24.scad
2018-02-24.stl
2018-02-25.scad
2018-02-26.scad
2018-02-26.stl
2018-02-27.scad
2018-02-27.stl
2018-02-28.scad
2018-02-28.stl
2018-03-01.scad
2018-03-01.stl
2018-03-02.scad
2018-03-02.stl
2018-03-03.scad
2018-03-03.stl
2018-03-04.scad
2018-03-04.stl
2018-03-05.scad
2018-03-05.stl
2018-03-06.scad
2018-03-06.stl
2018-03-07.scad
2018-03-07.stl
2018-03-08.scad
2018-03-08.stl
2018-03-09.scad
2018-03-09.stl
2018-03-10.scad
2018-03-10.stl
2018-03-11.scad
2018-03-11.stl
2018-03-12.scad
2018-03-12.stl
2018-03-13.scad
2018-03-13.stl
2018-03-15.scad
2018-03-15.stl
2018-03-16.scad
2018-03-16.stl
2018-03-17.scad
2018-03-17.stl
2018-03-18.scad
2018-03-18.stl
2018-03-20.scad
2018-03-20.stl
2018-03-21.scad
2018-03-21.stl
2018-03-22.scad
2018-03-22.stl
2018-03-25.scad
2018-03-25.stl
2018-03-26.scad
2018-03-26.stl
2018-03-28.scad
2018-03-28.stl
2018-03-29.scad
2018-03-29.stl
2018-03-31.scad
2018-03-31.stl
2018-04-01.scad
2018-04-01.stl
2018-04-02.scad
2018-04-02.stl
2018-04-04.scad
2018-04-04.stl
2018-04-05.scad
2018-04-05.stl
2018-04-06.scad
2018-04-06.stl
2018-04-07.scad
2018-04-07.stl
2018-04-08.scad
2018-04-08.stl
2018-04-12.scad
2018-04-12.stl
2018-04-13.scad
2018-04-13.stl
2018-04-14.scad
2018-04-14.stl
2018-04-17.scad
2018-04-17.stl
2018-04-19.scad
2018-04-19.stl
2018-04-20.scad
2018-04-20.stl
2018-05-02.scad
2018-05-02.stl
README.md
bot.py
example.jpg

README.md

Pendulum Bot

Simulates random spherical pendulum and exports the traced path as an STL file for 3D printing!

Automatically Tweets an image of the results and pushes the STL to this repo!

Example of what you can make!

The code simulates a pendulum moving in three dimensions based on random initial conditions, and then stores the traced path. This path is then used to generate a "bowl" shape based on the motion of the pendulum as an OpenSCAD script.

The width of the traced path varies according to the pendulum's velocity. Narrower is slower, wider is faster.

If the code thinks that the pendulum's path has formed something resembling a bowl shape, it adds a "base" to the bottom of it to help the print. If you want to remove it, the OpenSCAD files are automatically pushed to this repo as well as the .STL, so it's easy to edit.

The non-bot, non-randomised version of this lives here

If you care, here's a writeup and also a short Twitter thread on its development and my reasoning for it.