An open API service indexing awesome lists of open source software.

https://github.com/arran4/matchstickproblem

Generates an image of solving the "match stick problem" (move a match stick) for amusement
https://github.com/arran4/matchstickproblem

amusement fun match-stick

Last synced: 3 months ago
JSON representation

Generates an image of solving the "match stick problem" (move a match stick) for amusement

Awesome Lists containing this project

README

        

# matchStickProblem

This is a "simple" solver for the "Match Stick" problem meme that was going around, basically it was to make the largest number by simply moving a couple match sticks. There is a lot of variance that could be added to this to closer try match human ingenuity however I didn't go that far at the time of writing as I guess I just wanted it to be done.

I probably would have bothered doing so, if the inbuilt go `image/gif` library was better at handling large files, or there was some sort of webm or apng library I could use. -- Without having to link ffmpeg in directly as that's cgo.

Example (will take it's time to load please wait.)

![280mb ish gif (probably still loading)](https://github.com/arran4/matchStickProblem/releases/download/v0.3.4/out.gif)

See releases for downloads:
* https://github.com/arran4/matchStickProblem/releases

License.. Something like MIT but you must credit me via link to this repo.