Aktualisierung #200

Merged
IB-Cornelsen merged 174 commits from main into Jens 2024-12-10 16:36:14 +00:00
Showing only changes of commit e86f76b52c - Show all commits

View File

@@ -23,7 +23,7 @@ import Layout from "#layouts/cadLayout.astro";
const ctx = canvas.getContext('2d');
const lineLog = document.getElementById('line-log');
const pixelToMeter = 0.01; // Conversion factor: 1 pixel = 0.01 meter
const gridSize = 5; // Size of each grid cell in pixels
const gridSize = 20; // Size of each grid cell in pixels
let startX = null;
let startY = null;
let capturedLines = [];