- Pixel-art, episode 1: display Super Mario - Code Golf Stack Exchange
Any kind of entry is valid as long as it displays those 12 * 16 pixels anywhere on the screen window browser (EDIT: the displayed image can be scaled up if your language can't do pixel art You can also output ASCII art or HTML art, but using the right colors ) Image (zoomed 400%): You must use the following colors: blue: #6B8CFF red: #B13425
- Create pixel art! - Code Golf Stack Exchange
An pair of images, one original of your choice and the other being the "pixel-art" from that image This is code-golf, so lowest byte count for each language wins
- 16-bit binary grid - Code Golf Stack Exchange
Given any unsigned 16 bit integer, convert its decimal form (i e , base-10) number into a 4x4 ASCII grid of its bits, with the most-significant bit (MSB) at the top left, least-significant bit (LSB
- code golf - Make an animated winking smiley - Code Golf Stack Exchange
Instead of defining the 16 left hand side bytes of the smiley gfx, we use a neat little bit reversing routine of just 10 bytes to mirror the right hand side, thus savings of 6 bytes Winking animation is done by toggling the pixels of the right eye with an XOR bitmask (eye is 6 pixels high, thus we need to toggle 6 bytes of the sprite)
- Pixel art, episode 2: Display the map 1-1 of Super Mario Bros - code golf
22 Last challenge (Pixel-art, episode 1: display Super Mario) was just a training (and you completed it in amazing ways, thanks!) This time, you have to work a little bit more You have to display all the first overworld map of Super Mario bros on NES, without enemies, and without Mario
- Hexadecimal - gt; Binary Art - Code Golf Stack Exchange
Take a list of 2-digit hexadecimal numbers as input, and output the binary value, replacing each 1 with an 'X', and each 0 with a space For example Input = FF, 81, 47, 99 FF = 11111111 in binary
- Lets draw Mona Lisa - Code Golf Stack Exchange
There was a lot of black magic involved in golfing this down to its current state - some of the tricks involved are pixel art prep, bit shifting colors implicit type conversion,, Integer Compression, base64 compression, and compressing bytes as a String s
- What is the reverse (binary) bit number? - Code Golf Stack Exchange
The second part of the code, L:vK2*;OS#, is taken from my previous answer which converts binary to decimal Using the method decsribed and explained in that answer, it converts the binary digits on the stack into a base 10 integer, and prints the result
- code golf - Generating PBM bitmap files from ASCII text - Code Golf . . .
Per row of final output, the program pulls an eight-pixel byte (corresponding to the ASCII code and line number) from the gzip-compressed data section at the end using dd (tail -2 $0 extracts the script's last two lines; the compressed data includes one 0x0a linefeed byte ) It so happens that eight pixels is the width of a single character
- code golf - Draw a Gameboy Tile - Code Golf Stack Exchange
The Gameboy stores tiles as 2 bit-per-pixel 8x8 images, thus 16 bytes Every two bytes is a complete row with all of the Low-bits of each pixel in the first byte, and all of the High-bits of each pixel in the second
|