more fine grained lines

This commit is contained in:
Ruben van de Ven 2025-10-16 20:16:40 +02:00
parent a2ee8da80e
commit 905a3faa0c

View file

@ -231,7 +231,7 @@ impl StreamSource{
color: [0., 0., 0.], color: [0., 0., 0.],
weight: 0, weight: 0,
}); });
for j in (0..=0xFFF).step_by(0xFFF / 10) { for j in (0..=0xFFF).step_by(0xFFF / 20) {
// go back and forth, so galvo has it easier // go back and forth, so galvo has it easier
let y = if i % 2 == 0 { j } else {0xFFF - j}; let y = if i % 2 == 0 { j } else {0xFFF - j};
points.push(laser::Point{ points.push(laser::Point{