Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

would this work better than bresenham?

Name: Anonymous 2013-08-08 12:39

function drawline(x0,y0,x1,y1){
dx = x1-x0
dy = y1-y0
len = sqrt(dx*dx+dy*dy)
dx /= len
dy /= len
    for (k=0;k<=len;k++){
        paint(floor(x0),floor(y0))
        x0 += dx
        y0 += dy
    }
}

Name: Anonymous 2013-08-10 6:04

>>21
Do you realize what consequences would be to infinite compression?
The data storage industry will collapse, there will be NO advancement in data storage(everything "fits" on floppy).
Internet speeds will stagnate or revert to dialup levels(who needs speed now).
Remember "illegal numbers"? now there will be a lot of them, much shorter.
The databases could be stored in chunks of constant size which fit the memory. Three letter agencies
 could store everything forever. Surveillance states form overnight. Computer could use these infinite databases to solve crimes and predict future events. AIs could have godlike levels of knowledge and storage, possibly evolving to dominate humanity in a short burst of self-improvement.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List