Preload more data
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- frontend
调研方向
首先阅读 tile.js,并跟踪在绘制循环之前如何使用 Grid、Cell、TileSet 和 Tile.analyse();将提议的方法与链接的 Wave-Function-Collapse 实现进行比较。完成的标准应是:在绘制之前准备好所需的位置、坐标、邻居值和自连接过滤,同时允许点击特定的 Cell,并减少冗余循环。
由索引模型根据 Issue 内容生成。
描述
It would make things easier if more data is analyzed (like in tile.js) before starting the draw loop.
When creating the Grid, save the x and y positions as well as the coordinates (x1, x2, y1, y2 for example) this will eliminate the need for 2 loops as well as allowing for clicking on a specific Cell.
To each Cell in the Grid I added an up, down, left & right value to check for valid values, this saves time when comparing.
To each Tile in the TileSet I added a value to disallow for self-connecting and I filter those out in the Tile.analyse() function
my code is at: https://github.com/Fietsje/Wave-Function-Collapse
I really like seeing this project in action...
- 主要语言
- JavaScript
- 星标
- 219
- 派生
- 64
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CodingTrain/Wave-Function-Collapse 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 20/100
CodingTrain/Wave-Function-Collapse#41 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
CodingTrain/Wave-Function-Collapse#38 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
CodingTrain/Wave-Function-Collapse#37 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 42/100
CodingTrain/Wave-Function-Collapse#35 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 30/100
查看 CodingTrain/Wave-Function-Collapse 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
antfu-collective/icones#398 ·
-
ECmail.com 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
wesbos/burner-email-providers#554 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
radiantearth/stac-browser#1023 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
components-web-app/docs#92 ·