File: rotate.kbs

package info (click to toggle)
basic256 0.9.6.69a-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 26,304 kB
  • sloc: cpp: 7,778; yacc: 926; lex: 575; sh: 21; makefile: 7
file content (13 lines) | stat: -rw-r--r-- 284 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# rotate.kbs - show imgload statement with rotate and scale
clg
imgload 150,150,"test.bmp"
for t = 1 to 50
   imgload graphwidth*rand, graphheight*rand, 1 + t/10, "help.png"
next t
a = 0
for t = 0 to 50
   imgload 150, 150, t / 5 , 2 * pi / (t / 50), "help.png"
   pause .01
next t