An Excel-like spreadsheet with arbitrary expressions and persistence using localStorage golfed under 256 bytes with aem1k, subzey, xem, rlauck, odensc, mmastrac, and corruptio
This one was fun. It started with a tutorial about making a Speadsheet in AngularJS in 20 minutes, then 30 lines of JS and ultimately aem1k optimized the whole thing down to 468 bytes, and the fun began.
Then came the league of size optimizer extaordinaires, aem1k, subzey, xem and rlauck, and together we golfed this puppy down to 256 bytes.
Source code
<script>(o=b=>{for(j in a="ABCD")for(i in a)y=a[i]+-~j,b?document.write([["<p>"][i]]+y+"<input onfocus=value=[l[id]] onblur=l[id]=value;o() id="+y+" value="+[l[y]]+"> "):eval(y+(".value"+l[y]).replace(/[A-Z]\d/g," +$&.value"))})(o(l=localStorage))</script>
Yup. 256 bytes. See the commit history
Other recent experiments
There are many experiments and projects like SHEET to discover other here.
- 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. on November 18th, 2017
- VOLTRA VOLTRA: Grinding the Universe, a gritty JavaScript demo, winner of the 1024 bytes demo competition at the Assembly 2017. on August 6th, 2017
- BREATHING EARTH Another take on Nadieh Bremer mesmerizing Breathing Earth visualisation, running at 60fps on a 2D Canvas without libraries or frameworks. on June 26th, 2017
- THREAD JS Breaking the 64 bytes fronteer with the famous "10 print" maze generator. on December 16th, 2013
- MINICRAFT Tribute to MINECRAFT, voxel flyby in 252 bytes of HTML5 on November 2nd, 2013
- COTTON CANDY First stab at webGL, in 1k between two nappy changes. It's glitchy and tiny but I quite like this puppy. It ranked #3 at DemoJS. on July 2nd, 2011
- JSPONGY Since Mentor^TBC released Spongy, an amazing 128b intro raymarching a Menger sponge, I wondered how far such effect could be size optimized in JavaScript while keeping complex camera path. The answer: 281 bytes. on October 23rd, 2009
- OOMA 2 Rotozoom with tilt and experimental music in a valid 480bytes Atari bootsector. on May 13th, 2007
Let's talk
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.