PixelCompetition/C050
C050 - snail drawing¶
This Competition implements a snail drawing protocol. You are allowed to set your starting position once per session.
From your starting position the following pixel are drawn following the path of a snail shell:
25--26--27--28--29
||
24 09--10--11--12
|| || ||
23 08 01--02 13
|| || || || ||
22 07 00 03 14
|| || || ||
21 06--05--04 15
|| ||
20--19--18--17--16
ST {x} {y}
x: x-Coordinate of start position
y: y-Coordinate of start position
PX {r} {g} {b}
- or -
PX #{color}
r: red color component of a pixel
g: green color component of a pixel
b: blue color component of a pixel
color: color encoded as a html color (rgb-values as hex)
Diese Competition implementiert ein Protokoll, bei dem die Bilder in Form von Schneckenhäusern gemalt werden müssen.
Einmal darf zu Beginn einer Session der Befehl ST verwendet werden um einen Startpunkt zu setzen.
Hintergrund¶
Keiner... ... ... Schneckenhaus
Beispiel¶
Malt ein blaues Quadrat um den Punkt 100,100