Skip to content

Instantly share code, notes, and snippets.

@Liquidream
Created November 27, 2017 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Liquidream/334a1eae9c3be29618d54c76f31d60b0 to your computer and use it in GitHub Desktop.
Save Liquidream/334a1eae9c3be29618d54c76f31d60b0 to your computer and use it in GitHub Desktop.
A quick gradient example using FILLP()
-- quick gradient example using fillp()
-- by paul nicholas
::_::
cls(12)
fillp()
rectfill(0,55,127,60,7)
fillp(0b1000000000100000)
rectfill(0,60,127,70,0x67)
fillp(0b1110010110110101)
rectfill(0,70,127,80,0x76)
fillp(0b0101101001011010)
rectfill(0,80,127,90,0x67)
fillp(0b1101101001111010)
rectfill(0,90,127,100,0x67)
fillp(0b1000000000100000)
rectfill(0,100,127,115,0x76)
fillp()
rectfill(0,115,127,127,6)
flip()
goto _
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment