mathzhaoliang
V2EX  ›  问与答

用 Python 制作精彩的算法动画

  •  1
     
  •   mathzhaoliang · Jan 12, 2018 · 4658 views
    This topic created in 3068 days ago, the information mentioned may be changed or developed.
    我的第一个 PYPI 项目发布了,这个项目的目的是让大家可以用 python 快速地生成演示图算法的 GIF 动画.项目地址见 https://github.com/neozhaoliang/gifmaze

    效果图如下:

    这张图演示的是 Wilson 算法和宽度优先算法:



    这张图演示的是随机深度优先搜索和 A* 搜索:



    请大家多多指点(代码风格,组织结构,或者新的创意),多多点赞!
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6103 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 02:45 · PVG 10:45 · LAX 19:45 · JFK 22:45
    ♥ Do have faith in what you're doing.