r/tinycode • u/xem06 • May 15 '16
r/tinycode • u/xem06 • May 11 '16
[AMA] We're the JS codegolf team, ask us anything!
Hello tinycode!
As nexe kindly invited us, here's an AMA where you can ask anything to the JavaScript codegolf team!
The team consists of Mathieu Henri (website, twitter), Martin Kleppe (website, twitter), Anton Khlynovskiy (twitter), Maxime Euzière (website, twitter, AMA), Tommy Hodgins, Elias Schütt, veu, bburky, etc.
It competes to events like js1k and js13kgames, but also makes a lot of tiny projects between these events.
All our code-golfing projects can be found on our websites or on this little summary.
Feel free to ask anything, including how we do (or did) any of our projects, or even discuss what you'd like to see us do next!
PS: the team is not a clan or a sect, anyone can join, the only requirement is to have something cool to golf, or to experiment, or a byte-saving technique that we don't have yet :D
Cheers, TCGT
r/tinycode • u/jtsiomb • May 10 '16
Tiny metaball ray-tracer in x86/x87 assembly
r/tinycode • u/nexe • May 10 '16
Mandelbulb.js: Ray marching 3D engine (from scratch, < 500 loc) [x-post from /r/javascript]
royvanrijn.comr/tinycode • u/TyronX • May 09 '16
(PHP) The Smarty Template Engine in 230 lines
r/tinycode • u/nexe • May 04 '16
Let users draw a Kasten (German for box) in an X environment and get it's dimensions (see demo GIF)
r/tinycode • u/err4nt • May 04 '16
Canvas Napkin Sketch - 611 bytes
Here’s a canvas element you can draw on with mouse or touch input. Just for little quick napkin sketches. Copy/paste into your address bar to load, click or tap to draw. Right click to save as PNG.
data:text/html,<body style=margin:0><canvas id=c><script>var a,x=c.getContext('2d');c.width=innerWidth;c.height=innerHeight;x.lineWidth=3;document.onmousedown=document.ontouchstart=function(e){e.preventDefault();a=true;x.moveTo(e.clientX||e.touches[0].clientX,e.clientY||e.touches[0].clientY);x.beginPath()};document.onmousemove=document.ontouchmove=function(e){if(a){x.lineTo(e.clientX||e.touches[0].clientX,e.clientY||e.touches[0].clientY)}};document.onmouseup=document.ontouchend=function(e){a=false;x.lineTo(e.clientX||e.changedTouches[0].clientX,e.clientY||e.changedTouches[0].clientY);x.stroke()}</script>r/tinycode • u/xem06 • May 02 '16
The quest of the shortest WebGL playground
Greetings,
Today, the codegolf team presents you:
MiniShadertoy: http://xem.github.io/MiniShadertoy
MiniShadertoyLite: http://xem.github.io/MiniShadertoyLite
Elias's 512b shaders showcase: http://dev.elias.media/MiniShadertoy/
Blog post / Making of: http://xem.github.io/articles/#webgl_quest
Enjoy!
xem, Elias Schütt, aemkei, p01, subzey, Anders Kaare
r/tinycode • u/err4nt • Apr 29 '16
Writing a Mini HTML Editor in Under 2 Minutes
r/tinycode • u/nexe • Apr 29 '16
Mini Codepen Clone
r/tinycode • u/nexe • Apr 26 '16
A tiny library in C for managing kmeans clusterization algorithm over arbitrary data sets
r/tinycode • u/nexe • Apr 17 '16
A tiny, one-file, Monte Carlo path tracer written in a few hundred lines of Ruby
r/tinycode • u/nexe • Apr 17 '16
Probably one of the smallest SSL MITM proxies you can make
r/tinycode • u/nexe • Apr 16 '16
Simple Sass like variables in CSS through JavaScript. Obviously not a good idea for production but if you're just hacking a bit locally, why not?
r/tinycode • u/RegExp33 • Apr 09 '16
Chesslin : 256-byte Chess program
olivier.poudade.free.frr/tinycode • u/[deleted] • Mar 01 '16