gridfinder issueshttps://gitlab.com/kevincox/gridfinder/-/issues2020-11-13T12:19:33Zhttps://gitlab.com/kevincox/gridfinder/-/issues/1Support non-square grids.2020-11-13T12:19:33ZKevin Coxkevincox@kevincox.caSupport non-square grids.https://gitlab.com/kevincox/gridfinder/-/issues/2Dungeondraft Export2021-04-29T10:44:38ZKevin Coxkevincox@kevincox.caDungeondraft ExportIt should be easy enough to export a `.dd2vtt` file (for source images that we can access). Obviously we would just fill in the map and grid size as well as the map image.
If the `image` parameter supports URLs we could even provide tha...It should be easy enough to export a `.dd2vtt` file (for source images that we can access). Obviously we would just fill in the map and grid size as well as the map image.
If the `image` parameter supports URLs we could even provide that for CORS-blocked images.
```json
{
"format": 0.2,
"resolution": {
"map_origin": {
"x": 0,
"y": 0
},
"map_size": {
"x": 20,
"y": 40
},
"pixels_per_grid": 70
},
"line_of_sight": [],
"portals": [],
"environment": {},
"lights": [],
"image": "... base64 image ...",
}
```https://gitlab.com/kevincox/gridfinder/-/issues/3Auto-detect gridlines.2021-05-25T01:52:45ZKevin Coxkevincox@kevincox.caAuto-detect gridlines.For images with visible gridlines where we can see the pixels (CORS or local upload) we can probably autodetect the grid. We can just simply take the average brightness of each row and column and see if there is a pattern with darker (or...For images with visible gridlines where we can see the pixels (CORS or local upload) we can probably autodetect the grid. We can just simply take the average brightness of each row and column and see if there is a pattern with darker (or lighter) pixels on average.https://gitlab.com/kevincox/gridfinder/-/issues/4Allow manual grid tweaking2021-05-27T12:29:38ZKevin Coxkevincox@kevincox.caAllow manual grid tweakingRight now the only way you can interact with the suggestion is by adding more points. It would be nice if you can adjust manually.
Possible interactions:
- Adjust the grid size
- Change the offset.
The major question is what happens ...Right now the only way you can interact with the suggestion is by adding more points. It would be nice if you can adjust manually.
Possible interactions:
- Adjust the grid size
- Change the offset.
The major question is what happens if you click again? Do we throw away your tweaks and let the algorithm decide? Or do we somehow make those influence the algorithm?https://gitlab.com/kevincox/gridfinder/-/issues/6Fix asset version skew during deployment.2020-11-13T12:20:23ZKevin Coxkevincox@kevincox.caFix asset version skew during deployment.Right now the deployment hashes the assets to help bust the cache but that causes issues because if trying to load HTML of one version and assets from another version you will get a 404. Options in order of preference:
1. Use absolute l...Right now the deployment hashes the assets to help bust the cache but that causes issues because if trying to load HTML of one version and assets from another version you will get a 404. Options in order of preference:
1. Use absolute links to the assets on IPFS (like I did for [image-monitor](https://image-monitor.kevincox.ca/)). The downside is that since `ipfs:` isn't supported in browsers yet we will need to hardcode a gateway.
2. Also include the assets from the last N deploys in the current image. The downside is implementation complexity and just pinning the site will pin more than you need.
I prefer 1, but need a build tool that can implement it gracefully.