My first WebGL demo

Creative

demoscene graphics demo

SHOW HN2011

101points
55comments
#104of 1,097 in 2011
Top 10%of 2011 by points

How HN took it

DebatedReal support and real criticism

9 positive, 7 neutral or asking, 1 mixed, 15 critical, out of 32 comments about the project. Thread score -0.11.

Execution: 1 for, 8 againstPerformance: 1 for, 6 againstIdea: 3 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Impressive compression and demoscene craft

    From 4 comments
    • Very neat. I'm happy to see that the demo scene magic still exists. I thought the days of seeing an animated ray traced scene from a 256 byte EXE were over. This runs fluidly on…
      resnamen on HN
    • Hey, congrats on finally getting it out there! Saw how much work you poured into it and glad it's finally done. Also, mind-bending implementation.
      yan on HN
    • Daeken, you are a graphics/web wizard of the highest order. Congratulations :)
      5hoom on HN
    • Extraordinary.
      evilswan on HN
  • Clever hack that works in a PNG

    From 3 comments
    • Pretty cool hack! I'm looking forward to the blog post. It doesn't seem to eat my processor too much. In Chrome with AMD processor it's sitting at about 25% CPU usage.
      robflynn on HN
    • If it's 1k, then it's a serious contender.
      p0nce on HN
    • Very cool! I'd love to read how the PNG hack works. To see if your browser supports webgl, go to http://webglreport.sourceforge.net/ On a pokey mac mini, I get a few frames per…
      steveb on HN

Objections

  • Runs very slowly or hogs CPU and GPU, locking up machines

    From 4 comments
    • Just to add another token data point. I have it up full screen at 1920x1200. CPU usage is sitting between 50 and 75% of one core and GPU usage jumps back and forth between 40%…
      ktsmith on HN
    • Heh. Screen went black for a while, after which: "Display driver nvlddmkm stopped responding and has successfully recovered." Using an old NVIDIA GeForce 6200 with driver…
      tsvk on HN
    • (Repeated) kernel panic on Macbook Air/Chrome I'm afraid.
      Emore on HN
    • This is very cool, but when running it on Chrome 13 beta it was extremely choppy and basically locked up my PC. It took 2 minutes to move my mouse to the "close tab" button.
      gabbo on HN
  • Blank screen or does not load for many users

    From 3 comments
    • Apologies, but nothing happens when I view it. Running Chrome 12.0.742.122. I see the initial raw PNG splat, but get nothing but a lot of high cpu and a blank browser screen…
      geuis on HN
    • It does not work for me either - blank white screen. Same setup, Mac OS X and Chrome. I do get the canvas when pasting that snippet, though.
      nvarsj on HN
    • Same situation as the rest of this thread - I just get cpu usage and a white screen, in Chrome stable/beta/dev. OSX on a MBP, only thing I can think that might be shared with…
      Groxx on HN
  • More a polyglot than a true self-extracting PNG

    From 2 comments
    • Even so, I think this is more of a Polyglot than a self extracting PNG.
      simcop2387 on HN
    • So, it the header makes it look like a PNG: ``` magister.html: PNG image data, 1242 x 1, 8-bit grayscale, non-interlaced ``` If you look at this in an image viewer, it's as…
      jrockway on HN

Requests

  • Blog post explaining how the size was reduced

    From 2 comments
    • Very cool! I'd love to read how the PNG hack works. To see if your browser supports webgl, go to http://webglreport.sourceforge.net/ On a pokey mac mini, I get a few frames per…
      steveb on HN
    • Can you give us a few details of what you did? This makes my i7 cry. Edit: Just saw your explanation. Cool - thanks!
      carbocation on HN

Questions

  • Why it fails to load in some browsers and setups

    From 2 comments
    • Only thing I can think of at this point is that you have an extension inserting something into the body before the canvas. While on Magister, drop…
      daeken on HN
    • That's not a JS error. 'S' is a function defined in WebGL, which gets pulled out and names are passed through a regex that filters out certain characters. So it's not getting a…
      daeken on HN
  • Whether the driver bugs found are exploitable

    From 2 comments
    • weren't you recently searching for exploitable webgl driver bugs?
      trotsky on HN
    • Sorry for the late reply. Here are my details: Mac OS X 10.6.8 all updated / Google Chrome 12.0.742.122 / MacBookAir3,2 / 2.13 GHz / 4GB RAM Would be interesting to know if you…
      Emore on HN

Alternatives named

  • Hiding JavaScript in valid images (ha.ckers.org technique)

    From 1 comment
    • I can't get this to work; low end laptop with low end gpu. But is it anything like what Rsnake posted on ha.ckers.org? Link:…
      woodall on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/2771454)