viperid/example_project/main.go

26 lines
320 B
Go
Raw Permalink Normal View History

package main
2024-04-27 19:16:04 +00:00
import "example_project/viperid"
func main() {
2024-04-23 02:57:27 +00:00
t := 0
for {
2024-04-23 02:57:27 +00:00
for y := 0; y < 120; y++ {
for x := 0; x < 160; x++ {
2024-04-27 19:16:04 +00:00
viperid.Pset(
x,
y,
(x+y+t)%64,
2024-04-23 02:57:27 +00:00
)
}
}
// fmt.Printf("Hello! %d", count)
// count++
/*
debug.PrintStack()
*/
2024-04-27 19:16:04 +00:00
viperid.YieldFrame()
2024-04-23 02:57:27 +00:00
t += 1
}
}