Hilbert curve: Difference between revisions

Content added Content deleted
m (→‎{{header|Sidef}}: minor update)
m (→‎{{header|Sidef}}: updated code: use round() instead of int())
Line 2,514:
primitive => 'line',
points => join(' ',
intround(x * scale + xoff),
intround(y * scale + yoff),
intround(newx * scale + xoff),
intround(newy * scale + yoff),
),
stroke => color,
Line 2,596:
table{c}.run
}
elsif (c.contains(/^[[:upper:]]\z/)is_uppercase) {
turtle.forward(len)
}