2024-04-22 05:10:48 +00:00
|
|
|
package main
|
|
|
|
|
2024-04-27 19:16:04 +00:00
|
|
|
import "example_project/viperid"
|
|
|
|
|
2024-04-22 05:10:48 +00:00
|
|
|
func main() {
|
2024-04-23 02:57:27 +00:00
|
|
|
t := 0
|
2024-04-22 05:10:48 +00:00
|
|
|
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++
|
2024-04-22 19:21:25 +00:00
|
|
|
/*
|
|
|
|
debug.PrintStack()
|
|
|
|
*/
|
2024-04-27 19:16:04 +00:00
|
|
|
viperid.YieldFrame()
|
2024-04-23 02:57:27 +00:00
|
|
|
t += 1
|
2024-04-22 05:10:48 +00:00
|
|
|
}
|
|
|
|
}
|