Warming up with a 32 bytes fire effect for MSDOS after a few years break from the demoscene for studies and work.
Actually I tried to do this three years earlier but failed to go below 33 bytes. This intro is 31 bytes + 1 byte of padding just for fun.
This effect uses the classic technique:
Generating pseudo-random pixels at the base of the screen. For each pixel, average the current pixel and the three neighbours below it.
Ideally there should some decay too to make the flames disapear quicker but that was asking too much for 32 bytes.
; $ ; $$ ; $$$ ; $ $$$$$$$ ; $$$$$$$$$ ; $$ $$$$ $$$$ $$ ; $$$$$$ $$$$$ ; $$$$ $$$$$$$ ; $$$$$$$ $$$$$$ ; $$$ $$$$$ ; $$$$ $$$ ; $$ $$ ; $$ $$$ ; $ $$ ; ; 32bytes fire effect ; Mathieu 'P01' HENRI ; ___________________ ; http://www.p01.org ; http://www.256b.com .model tiny .code .386 org 100h start: mov al,13h int 10h mov bh,0a5h mov es,bx mov ds,bx mainLoop: xor byte ptr[bx],al inc bl lodsb add al,al add al,[si+319] add al,[si] shr al,2 or al,128 stosb jmp mainLoop db 3 ; lovely padding end start
Of course you can find this 32b Fire on Pouet.net.
Other recent experiments
There are many experiments and projects like FIRE to discover other here.
- MUSIC FOR TINY AIRPORTS 2/1 🛫 Celebrating the 40 years anniversary of Brian Eno's "Ambient 1: Music for Airports" with an homage written in 256 bytes with the Web Audio API.
- THEY COME AT DUSK 👺 A survival horror game for JS1k 2018, where you run away from dead miners as you hear your heart beat. Turn around using the arrow keys until all you hear is beeeeeeeep.
- FRONTFEST MOSCOW It was an honour to be invited to Fronfest Moscow 2017 with the little family to give my first workshop; implementing a Twin-stick shooter using ES6 and Canvas, and to continue my CODE🎙ART series of talks + live coding aiming to inspire new web developer artists.
- SHEET An Excel-like spreadsheet with arbitrary expressions and persistence using localStorage golfed under 256 bytes with aem1k, subzey, xem, rlauck, odensc, mmastrac, and corruptio
- MUSIC SOFTSYNTH This is the brain child of 140byt.es and Experimental music from very short C programs.
- OOMA The winning bootsector of Outline 2005, featuring two images zooming with experimental music in a valid 480bytes Atari bootsector.
- COPTER CRUISE A simple Commanche-like that won the 20lines 'Terrain' contest at the OzoneAsylum in July 2004
Don't be shy; get in touch by mail, twitter, github, linkedin or pouet if you have any questions, feedback, speaking, workshop or performance opportunity.