Skip to content

walkerdanny/PendulumBot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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.

About

Bot that tweets simualted pendulums as STLs, and then pushes the results here!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published