{"id":19226588,"url":"https://github.com/huichuanli/visible-algoritme-java","last_synced_at":"2025-06-26T07:02:46.164Z","repository":{"id":121614559,"uuid":"183783986","full_name":"HuichuanLI/visible-algoritme-java","owner":"HuichuanLI","description":"实现算法可视化使用java + swing\u003cPlay Data Structures in Java\u003e. 《Java语言玩转数据结构》代码。","archived":false,"fork":false,"pushed_at":"2019-05-09T15:28:34.000Z","size":72798,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-21T00:34:57.388Z","etag":null,"topics":["algorithms","java","swing","swing-gui"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HuichuanLI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-04-27T14:34:49.000Z","updated_at":"2025-01-07T01:24:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec54c6d7-e3d5-437c-9456-9f9994aa441c","html_url":"https://github.com/HuichuanLI/visible-algoritme-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HuichuanLI/visible-algoritme-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuichuanLI%2Fvisible-algoritme-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuichuanLI%2Fvisible-algoritme-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuichuanLI%2Fvisible-algoritme-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuichuanLI%2Fvisible-algoritme-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HuichuanLI","download_url":"https://codeload.github.com/HuichuanLI/visible-algoritme-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuichuanLI%2Fvisible-algoritme-java/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262018677,"owners_count":23245618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","java","swing","swing-gui"],"created_at":"2024-11-09T15:19:22.730Z","updated_at":"2025-06-26T07:02:46.158Z","avatar_url":"https://github.com/HuichuanLI.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Algorithms visible \n## Chapitre 1\nsimple example of java swing\n![java](1.gif)\n\n## Chapitre 2 随机问题（蒙特卡洛）\n\n### 分钱问题\n房间里有100个人，没人都有100元钱，他们在玩一个游戏。每轮游戏中，没人都要拿出一元钱给另一个人，最后这100人的财富分布怎么样？\n\n1.\t假设所有人钱都大于0\n![随机分钱问题](2.gif)\n\n2.\t假设人可以小于0\n![随机分钱问题](3.gif)\n\n## Chapitre 3 随机问题（蒙特卡洛）\n使用蒙特卡洛算法计算 圆周率 通过正方形和圆形面积比值\n![蒙特卡洛](4.gif)\n最后能算出 ：3.147878787878788\n\n## Chapitre 4 排序可视化\n\n### 选择排序\n\n![选择排序 selection sort](6.gif)\n### 插入排序\n![插入排序 insertion sort](7.gif)\n### 归并排序\n自顶向下\n![归并排序自顶向下 merge  sort](8.gif)\n自底向上\n![归并排序自底向上 merge  sort](9.gif)\n### 冒泡排序\n![冒牌排序 bubble  sort](10.gif)\n###  快速排序\n![快速排序 quick  sort](11.gif)\n随机快速排序\n![随机快速排序 Random  quick sort](12.gif)\n双路快速排序\n![双路快速排序 Quick  sort 2 ways](13.gif)\n三路快速排序\n![双路快速排序 Quick  sort 3 ways](14.gif)\n\n### 堆排序\n![堆排序 Heap sort](15.gif)\n\n## Chapitre 5 迷宫遍历可视化\n![迷宫 Maze](1.png)\n\n递归深度优先遍历DFS \n![DFS Maze](16.gif)\n\n非递归深度优先遍历DFS \n![DFS Maze](17.gif)\n\n标出路径\n![DFS Maze](18.gif)\n\n广度优先遍历DFS \n![DFS Maze](19.gif)\n\n## Chapitre 6 生成迷宫\n\n非递归深度优先遍历\n![迷宫 Maze](20.gif)\n\n\n随机队列遍历\n![迷宫 Maze](21.gif)\n\n随机队列遍历添加阴影\n![迷宫 Maze](22.gif)\n\n\n更加随机的迷宫+迷宫求解 + 使用栈队列实现\n![迷宫 Maze](23.gif)\n\n## Chapitre 7 扫雷小游戏\n### 为了实现扫雷的随机放置 引入FIsher-Yates 算法 目的实现一个概率均等的算法 : 原理比较简单 就是每次从z数组去除一个位置进行交换 \n![扫雷游戏 Miner](2.png)\n\n实现功能：flood fill 算法  并且 点击\n![扫雷游戏 Miner](24.gif)\n\n\n## Chapitre 8  Move the box\n### android move the box 破解程序\n可以获得答案\n\nGame : [game](https://play.google.com/store/apps/details?id=ua.co.cts.sideup\u0026hl=en)\n![实现游戏 Miner](3.png)\n\n## Chapitre 9  分形图\n### vicsek 分形图\n![分形图](4.png)\n\n递归 0- 6 深度\n![分形图](25.gif)\n\n### Sierpinski 分形图\n\n正方形\n![分形图](26.gif)\n三角形\n![分形图](27.gif)\n雪花 snow\n![分形图](28.gif)\n分形树 tree\n![分形图](29.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuichuanli%2Fvisible-algoritme-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuichuanli%2Fvisible-algoritme-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuichuanli%2Fvisible-algoritme-java/lists"}