26 lines
320 B
Go
26 lines
320 B
Go
package main
|
|
|
|
import "example_project/viperid"
|
|
|
|
func main() {
|
|
t := 0
|
|
for {
|
|
for y := 0; y < 120; y++ {
|
|
for x := 0; x < 160; x++ {
|
|
viperid.Pset(
|
|
x,
|
|
y,
|
|
(x+y+t)%64,
|
|
)
|
|
}
|
|
}
|
|
// fmt.Printf("Hello! %d", count)
|
|
// count++
|
|
/*
|
|
debug.PrintStack()
|
|
*/
|
|
viperid.YieldFrame()
|
|
t += 1
|
|
}
|
|
}
|