@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.

Enjoying Botwiki?

Consider supporting the project!

Browse botsSee a random bot

Latest from the blog

Five years of Botwiki
Five years of Botwiki

Happy birthday, Botwiki!

Glitch banning use of pinging services
Glitch banning use of pinging services

An end of an era, yet again.

Poll: The cost of botmaking
Poll: The cost of botmaking

How much does it cost to host a creative bot?

Bot tributes
Bot tributes

Art, games, and other creative projects inspired by bots.

Visit the blog

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.