Hacker News new | ask | show | jobs
by cvoss 1060 days ago
The author should implement an error correction system, where 1) the result is withheld from the display until a second corroborating calculation comes in, and 2) if there is disagreement, request an arbitration from a third user whose job is to pick which of the two is the best answer.
5 comments

I don't know, if they were aiming for perfection you'd think they'd just use a computer.
It is a bit odd; they specifically ask for the picture of the worksheet, and say they’ll check it. I wonder if the just haven’t gotten around to it yet. Automatic error checking would be nice (IMO just let multiple people do each pixel and take the most popular result).
They ask for the worksheet to check that you're not cheating. They don't check the pixel values. I think much of the charm of the image is seeing the errors.

By the way, there's more going on in the shader algorithm than you might expect. Here's an explanation of the worksheet:

  u, v are coordinates relative to the center of the image
  h is radius from center, squared
  Section B generates the ball:
  B3-8 generates the reflected color on the ball.
  B9-11 applies the diffuse illumination to the ball.
  B12 adds the illumination highlight.
  Section C creates the ground:
  C5 puts a shadow directly under the ball.
  C13 is the cast shadow of the ball.
  Section D creates the sky with a simple gradient
  Section E converts the image from two-color to three-color
Hello, my name is Inigo Quilez, you skilled my father, prepare to draw half the shader on shadertoy :D
The errors (wrong colors) colors is the charming part to me.
They already know the right answer for each pixel, presumably though?
If they didn't then maybe they could write some kind of computer program to find them.
Or a story if anti-aliasing but getting each pixel computed multiple times and averaging the results. Over time the image should get better as the errors are diluted. It will significantly increase the amount of HPU time required, but with enough human processing units willingly taking part the wall-clock time might not be too badly affected.