Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SuperStrict
  2. Const ALPHABITS:Int = $ff000000
  3. Graphics(640,480)
  4.  
  5. Local Image:TImage = CreateImage(255,255)
  6.  
  7. While Not AppTerminate()
  8.      Cls()
  9.      Local Map:TPixmap = LockImage(Image)
  10.      For Local x:Int = 0 To 254 Step 1
  11.           For Local y:Int = 0 To 254 Step 1
  12.                WritePixel(Map,x,y,ALPHABITS|Int(Rnd(0,255)))
  13.           Next
  14.      Next
  15.      UnlockImage(Image)
  16.      DrawImageRect(Image,0,0,640,480)
  17.      DrawText "Blue Color Gradient",0,0
  18.      Flip(0)
  19. Wend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement