Commit Graph

7 Commits

Author SHA1 Message Date
Misode
561cd341a1 Update to esm, update deepslate (#244) 2022-06-16 00:58:14 +02:00
Misode
92ac80f465 Add surface rule visualizer 2022-02-13 04:02:52 +01:00
Misode
2cb14a2c10 Add tooltips to all buttons and tweak hover colors 2021-09-25 07:10:54 +02:00
Misode
3b80334e2e Support 1.18 (experimental) snapshots (#158)
* Half support 1.18-experimental-snapshot-1

* Fetch 1.18 presets and improve rendering of lists

* Noise preview with deepslate

* Biome preview with deepslate

* Generalize canvas logic in one hook

* Simplify useCanvas

* Use mcschema for 1.18

* Improve noise settings preview controls

* Fix build

* Update deepslate and improve preview caching

* Cleanup, remove old preview code

* Couple seed between model and preview

* Limit output to improve performance + copy feedback
For the vanilla overworld dimension (200K lines),
it took 2+ seconds to write the output to the textarea

Now capped at 10K chars

* Add surface_relative_threshold to decorator preview

* Improve fixed list errors
2021-09-23 03:04:52 +02:00
Misode
386eb675d6 Use preact to render the tree (#155)
* Use preact to render the tree

* More changes to renderHtml
2021-09-09 21:36:19 +02:00
Misode
14da8ba575 Select preset input when opening 2021-06-26 17:18:02 +02:00
Misode
09c851914f Switch to vite and preact 2021-06-26 17:18:02 +02:00