Strange Brew by John Deering for April 15, 2016

  1. 654px red eyed tree frog   litoria chloris edit1
    Superfrog  about 8 years ago

    I reckon that’s close enough.

     •  Reply
  2. Duck1275
    Brass Orchid Premium Member about 8 years ago

    Yep.void bresenham_line(int x, int y, int x2, int y2, int c){ int i, steep = 0, sx, sy, dx, dy, e; dx = abs(x2 – x); sx = ((x2 – x) > 0) ? 1 : -1; dy = abs(y2 – y); sy = ((y2 – y) > 0) ? 1 : -1; if(dy > dx) { steep = 1; x ^= y; /* swap x and y / y ^= x; x ^= y; dx ^= dy; / swap dx and dy / dy ^= dx; dx ^= dy; sx ^= sy; / swap sx and sy */ sy ^= sx; sx ^= sy; } e = 2 * dy – dx; for(i = 0;i < dx;i++) { if(steep) plotdot(y, x, c); else plotdot(x, y, c); while(e >= 0) { y += sy; e -= 2 * dx; } x += sx; e += 2 * dy; } plotdot(x2, y2, c);}

     •  Reply
  3. Don martin 1
    Farside99  about 8 years ago

    Dag nabbit! I was sure there’s gotta be more to it than that! It just seems like it’s unfinished. It’s just not right!

     •  Reply
  4. 00712 whiteheron
    whiteheron  about 8 years ago

    I see the problem they are having….They didn’t round up.

     •  Reply
  5. Image
    Olddog1  about 8 years ago

    BrassOrchid:That’s what I was going to say.

     •  Reply
  6. Missing large
    Egrayjames  about 8 years ago

    I can’t tell if it’s Phi or Pi……I reckon they’ll figure it out.

     •  Reply
  7. Boston
    MS72  about 8 years ago

    lines are infinite, rays have one end, and line segments have two ends

     •  Reply
  8. Missing large
    dflak  about 8 years ago

    In aviation there is a navigational concept of flying blind. Correcting for wind, if you hold a certain heading at a certain airspeed for a certain time, you should wind up where you want to be without any reference to any navigational aids or the outside world.

    The concept is called “Dead Reckoning” – you either reckon correctly or you’re dead.

     •  Reply
  9. Irish  1
    Zen-of-Zinfandel  about 8 years ago

    Is he some sort of flannel mouthed bean counter??

     •  Reply
  10. Missing large
    QuantumMechanic Premium Member about 8 years ago

    Is that TeX or LaTeX???

     •  Reply
Sign in to comment

More From Strange Brew