Simulating double, spring pendulums.

@springy_bot is a Twitter bot created by Tyler Cox.

This Twitter bot uses Python to simulate and visualize a double pendulum connected by springs rather than fixed rods. This leads to more chaotic behavior than the traditional double pendulum and the results are often quite mesmerizing.

Each simulation has randomly generated initial conditions, colormap, and the number of double pendulums that are simulated, and runs at 60 FPS for 20 seconds using Matplotlib‘s Animation class.

The bot posts simulations 3 times a day using a Github Actions cron job.

Browse botsSee a random bot

Latest from the blog

Twitter adds labeling for #GoodBots
Twitter adds labeling for #GoodBots

Twitter is testing an opt-in labeling for Good Bots.

Poll: Sharing your bot's source code
Poll: Sharing your bot's source code

Sharing is caring, and many botmakers do care.

Poll: Do botmakers put their bots on their resume?

Visit the blog

Enjoying Botwiki?

Consider supporting the project!