Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommend my project #270

Open
neozhaoliang opened this issue Jan 20, 2018 · 2 comments
Open

Recommend my project #270

neozhaoliang opened this issue Jan 20, 2018 · 2 comments

Comments

@neozhaoliang
Copy link

neozhaoliang commented Jan 20, 2018

Hi: I have a python project that I think may fit in this repo. It builds an environment for running various maze animations from the bottom (in pure python, with only built-in modules). It can produce very nice GIF images. It's roughly 500 lines (the code can be trimmed to be less than 500 lines). Hope you could check it and give suggestions!

@storyoftime66
Copy link

Page not found now

@neozhaoliang
Copy link
Author

neozhaoliang commented Apr 4, 2019

Yes it's deleted since I thought the maintainers of this project might not be interseted in it and have a look at there, because I got no reply for a year ...

The project is now here, note it's independent of other directories in that repo, and it has been enlarged since l opened this issue, added more rich features... but the main framework (in/gifmaze/) can be easily fitted into 500 lines.

The code is written in pure python, no extra libs/softwares are needed, and there is no draw/coloring command in the code. It can produce highly optimized gif images in only a few seconds, even there are thousands of frames in the image.

Some examples:

enterprise

gosperglidergun
hilbert

langton_ant

wilson-bfs
kruskal

You can run the example*.py scripts to see how fast it runs.

I think this project fits the spirit of 500 lines because:

  1. It can output lots of cool gif images, so people can easily enjoy it.
  2. It builds everything from the ground (it implemented a simple gif encoder), no third-party libs nor image process softwares are required.
  3. Many algorithms are involved here (LZW, Wilson, BFS/DEF, cellualr automata ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants