diff --git a/resources/js/components/SMMastHead.vue b/resources/js/components/SMMastHead.vue index b8488cb..93693ab 100644 --- a/resources/js/components/SMMastHead.vue +++ b/resources/js/components/SMMastHead.vue @@ -61,7 +61,7 @@ const tabGroups = [ ], [ { title: "Connect", to: "/minecraft" }, - { title: "Curves", to: "/minecraft/curve" }, + { title: "Curve Calculator", to: "/minecraft/curve" }, ], ]; diff --git a/resources/js/views/MinecraftCurve.vue b/resources/js/views/MinecraftCurve.vue index ae52a3a..c602fc7 100644 --- a/resources/js/views/MinecraftCurve.vue +++ b/resources/js/views/MinecraftCurve.vue @@ -1,101 +1,126 @@ - + - - - - - - - + + + + + + + + + - - + + - - + + - - - - - + + + + + + + + Grid size + + {{ gridsize }} + Curve width + + {{ curvewidth }} - - Grid size - - 10 - Curve width - - 1 - - Ruler - - - - + - + + Width: {{ ruler_info.width }} + Height: {{ ruler_info.height }} + Area: {{ ruler_info.area }} + Filled: {{ ruler_info.filled }} + - - - - Copy 2D array of curve to clipboard - - + + + + + + + Based on the work at + https://iseenbaas.nl/curve/. + + +
+ Based on the work at + https://iseenbaas.nl/curve/. +