Created
May 25, 2017 10:12
-
-
Save m0ppers/fff93ca6144b26cff99dddf2c0f2d086 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#l 2 8 images/emojis.png | |
pi $0, si 0 | |
pi $1, si 1 | |
pi $sw, si 16 | |
pi $sh, si 16 | |
pi $sxi, si 0 | |
pi $syi, si 0 | |
pi $dw, si 32 | |
pi $dh, si 32 | |
pi $y, si 0 | |
@yloop | |
pi $sy, s $y, mul $sh, div $dh | |
pi $x, si 0 | |
@xloop | |
pi $sx, s $x, mul $sw, div $dw | |
x $sx, y $sy, zi 8, g $r | |
x $sx, y $sy, zi 9, g $g | |
x $sx, y $sy, zi 10, g $b | |
x $x, y $y, zi 4, s $r | |
x $x, y $y, zi 5, s $g | |
x $x, y $y, zi 6, s $b | |
pi $x, add $1, seq $dw, j @xloop | |
pi $y, add $1, seq $dh, j @yloop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment