Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    D

    Demoseen

    demoseen.com · Personal blog · on HN since 2011

    Demoseen is a developer who builds WebGL and JavaScript demos, cellular automata playgrounds, and tricks like packing code into PNG files.

    Visit blogHN submissions
    ProgrammingWeb DevelopmentGames
    What HN says

    Commenters enjoy playing with his Langton's ant playground, share their favorite patterns, and describe his PNG packing as an efficient way to ship web demos.

    Stats for nerds
    20HN people shared it
    8linked in comments
    364story points
    Sep 2018last shared
    2011people per year2018

    Top posts on HN

    1. 1
      Fl0wer.png.html
      1 person · 111 points · first shared 2012 · 73 comments on HN
    2. 2
      Show HN: My first WebGL demo, the first self-extracting PNG ever?
      2 people · 101 points · first shared 2011 · 55 comments on HN
    3. 3
      Show HN: WebGL Enabler for iOS
      1 person · 79 points · first shared 2012 · 57 comments on HN
    4. 4
      Show HN: My weekend project, a graphics/cellular automata playground
      6 people · 56 points · first shared 2011 · 16 comments on HN
    5. 5
      Fret.js: Procedural Fretboard Generator
      1 person · 12 points · first shared 2014 · 10 comments on HN
    6. 6
      Superpacking JavaScript Demos
      3 people · 3 points · first shared 2016 · Discussion on HN
    7. 7
      Hacking hotel locks with Arduino
      3 people · 2 points · first shared 2012 · Discussion on HN
    8. 8
      Magister.png
      3 people · first shared 2012
    9. 9
      Langton
      2 people · first shared 2013
    10. 10
      WebArena.js:180:37
      1 person · first shared 2017

    What HN people wrote when they linked it

    • jjarmocApr 2015

      I first learned about this technique from Cody Brocious' post (http://daeken.com/superpacking-js-demos) about his WebGL demo 'Magister' (http://demoseen.com/windowpane/magister.html). That file has a .html extension, but it's also a valid PNG. In his post, he discusses this technique as well as others.

      Cody's goal was to compress already minified WebGL code and achieve some pretty impressive results from a ridiculously small file for a demo contest. He also put the JS loader (which is much smaller than the linked decoder) in a custom chunk on the PNG itself. By doing it that way, you can have a PNG that when renamed also contains a web page and/or more Javascript.

      It's an interesting technique, for sure, but I've never been able to find a real use for it beyond the compression. With a content-type sniffing vulnerability or something, it could be an interesting way to deliver content to browsers, but otherwise it's really just a curiosity as best I can tell.

    • kstenerudOct 2017

      hmm it breaks on Chrome on mac os:

      System.Exception: TypeError: Cannot read property 'viewport' of null
      at ctor.Resize (http://demoseen.com/bridge/WebArena.js:180:37)
      at new ctor (http://demoseen.com/bridge/WebArena.js:158:22)
      at Function.Main (http://demoseen.com/bridge/WebArena.js:119:13)
      at http://demoseen.com/bridge/bridge.js:2973:39
      at HTMLDocument.delayfn (http://demoseen.com/bridge/bridge.js:481:21)
      at HTMLDocument.listenHandler (http://demoseen.com/bridge/bridge.js:498:30)

    • daekenAug 2016

      I abused this concept to compress demo code in PNG files, with great success. http://demoseen.com/blog/2011-08-31_Superpacking_JS_Demos.html

      This is, at present, the most efficient way to pack demos on the web; a few characters of uncompressed bootstrap code, then the rest is deflated.

    • Maciek416Feb 2011

      This is awesome. I'd love to add color generation options.

      Here's my favorite so far:

      http://demoseen.com/langton.html#*/*/*/*/*/*/*/*/*/*/....

      [EDIT: and its cousin: http://demoseen.com/langton.html#*/*/*/*/*/*/*/*/*/*/....+-+-+-+-+-+-+-+-+-+- ]

    • ygraSep 2013

      You mean like this?

      http://demoseen.com/windowpane/magister.png.html

      (I'm not the creator, I just happen to share an IRC channel with them.) There is a description of how it works at http://daeken.com/superpacking-js-demos

    • redthrowawayJul 2011

      I like the demo on the "front page", as well: http://demoseen.com/

      It crashes though, when you run it with this hash: 0FP$9jj!i1!!!DPD!t!!!!!~ It spun up 5M threads before it died, which was admittedly fun to watch.

    Related

    Daekendaeken.com21 people

    Breaker 101: An intensive online web security course

    Daeken
    Personal · last shared 2015
    Demosthenesdemosthenes.info17 people

    Which CSS Measurements To Use When

    Demosthenes
    Personal · last shared 2015
    p01p01.org70 people

    Monospace: A JavaScript demo in 1021 bytes, winner of the demo competition

    p01
    Personal · last shared 2025
    antimatter15antimatter15.com19 people

    The Ambiguity of Open and H.264 vs. VP8

    antimatter15
    Personal · last shared 2026
    Surmasurma.dev67 people

    Ditherpunk: The article I wish I had about monochrome image dithering

    Surma
    Personal · last shared 2025
    PhobosLabphoboslab.org123 people

    QOI: Lossless Image Compression in O(n) Time

    PhobosLab
    Personal · last shared 2026
    Scirra Blogscirra.com46 people

    Bitcoin's UK future looks bleak

    Scirra Blog
    Company · last shared 2021
    Red Blob Gamesredblobgames.com199 people

    Hexagonal grids for games

    Red Blob Games
    Personal · last shared 2026