Turmites is a small Go program that runs one more more turmites through a mound.
Mound library located here
Every turmite is a 2d turing machine, one of the most famous turmites being Langton's Ant (a four state turing machine).
- Linux/Unix-like OS required
bash
,rm
,ffmpeg
required forfunc mound.BatchImages(...)
- Currently every frame is encoded into png files into a temporary directory. This takes a long time!
mound.BatchImages(...)
currently handles a max of 999,999 frames- Want to convert .mp4 to .gif? Consider this Stack Overflow post
- API is not stable and subject to change
- Modify
mound.BatchImages(...)
to start generating pngs at a specific step (currently steps from frame 1 -> frame 999,999) - Create function to merge various .mp4s
- Allow skipping of frames
- Allow user to choose output type (currently only allows .mp4)
- Consider pushing png encoding to different cores (currently the bottleneck)
- Contact Sean @ github.com/sdwalsh or bitbucket.org/sdwalsh
Feel free to fork this repository and send pull requests!
Copyright 2017 Sean Walsh
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.