Dr_Davenstein

Untitled

Jan 2nd, 2021 (edited)
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include "fbgfx.bi"
  2.  
  3. type img
  4.  
  5. i as FB.IMAGE ptr = imagecreate(256,256)
  6.  
  7. end type
  8.  
  9.  
  10. screenres 640,480,32
  11.  
  12. dim as img tmp
  13.  
  14.  
  15. for y as integer = 0 to 255
  16.  
  17. for x as integer = 0 to 255
  18.  
  19. pset tmp.i,(x,y), rgb( (x xor y), (x xor y), (x xor y) )
  20.  
  21. next
  22.  
  23. next
  24.  
  25.  
  26. put(0,0),tmp.i
  27.  
  28.  
  29. sleep
  30.  
Add Comment
Please, Sign In to add comment