+6
Diff
round #0
+6
coordinates/main.go
+6
coordinates/main.go
···
38
38
} else {
39
39
firefly.ClearScreen(firefly.ColorNone)
40
40
}
41
+
42
+
// points in 4 quadrants
43
+
firefly.DrawPoint(translatePoint(firefly.Point{X: 10, Y: 10}), firefly.ColorCyan)
44
+
firefly.DrawPoint(translatePoint(firefly.Point{X: 10, Y: -10}), firefly.ColorGreen)
45
+
firefly.DrawPoint(translatePoint(firefly.Point{X: -10, Y: 10}), firefly.ColorBlue)
46
+
firefly.DrawPoint(translatePoint(firefly.Point{X: -10, Y: -10}), firefly.ColorRed)
41
47
}
42
48
43
49
func translatePoint(p firefly.Point) firefly.Point {
History
1 round
0 comments
voigt.tngl.sh
submitted
#0
1 commit
expand
collapse
add points to the coordinate system
expand 0 comments
closed without merging