@DatSwingyBoi

Double pendulums with rainbow colors.

@DatSwingyBoi is a Twitter bot created by Jethro Modequillo that generates animated GIFs of swinging pendulums.

Author shares some technical details:

The bot uses a Python script to generate a randomized instance of some double pendulums via a p5.js sketch, and then records 900 frames of the animation (which is 15 seconds when played at 60fps) with CCapture.js before FFmpeg exports it into an MP4 file. Once I have the video, twython tweets with a caption of the parameters used in the pendulums.

Since I want to run this program regularly (every 12 hours), I made a task in Task Scheduler that opens the Python script at regular intervals, automatically generating and tweeting a video.

Browse botsSee a random bot

Latest from the blog

Poll: Do you follow the bots you make?
Poll: Do you follow the bots you make?

Do botmakers follow their bots?

Poll: What are your favorite bots to follow?
Poll: What are your favorite bots to follow?

Results are in: people love to look at pictures!

2015-2018: The Golden Age of botmaking
2015-2018: The Golden Age of botmaking

Reminiscing and looking ahead.

Poll: The language of botmaking
Poll: The language of botmaking

To make a bot, or to author it?

Visit the blog

Enjoying Botwiki?

Consider supporting the project!

Close

Adblocker not detected

Consider installing a browser extension that blocks ads and other malicious scripts in your browser to protect your privacy and security.

.