how come a computer cant draw a perfect circle??they have ilke a trillion flops a second and they draw circles with a bunch of tiny squares. if you zoom in real close to a computer drawn circle, its all squares
somebody told me that computers were going to solve physics. they cant even solve circles
>>108779278>if you zoom in real close to a computer drawn circle, its all squaresThat sounds like a (You) problem.Retina display exists
>>108779301I dont care what display you have, zoom in on the circle 10x, 100x, 1000x its going to be squares
>>108779278>how come a computer cant draw a perfect circle??.circle { border-radius: 50%;}
.circle { border-radius: 50%;}
>>108779278because Bezier curves can't represent one.
>>108779278Computers can, monitors can’t
>>108779379I don't get it.
>>108779312>I dont care what display you have, zoom in on the circle 10x, 100x, 1000x its going to be squaresZoom into a vector circle and show me these squares.
>>108779578Floating point numbers only have so much resolution, so there can be minute errors in arithmetic.
>>10877957864-bit floats (IEEE 754), not infinite precision, in the same way that OP's "circle" is actually composed of pixels (squares).$ cd /tmp$ echo "console.log(0.1+0.2)" > test.js$ node test.js0.30000000000000004
>>108779578floating point does what it says, in binary...therefore human friendly numbers such as multiples of 0.1 or any decimal number thats all zeroes with a 1 at the end do not exist, you can get 0.09999999... or 0.0100... but it being a binary native format means no amount of bits thrown can fix this inherent property of floating point numbers.the only way to represent such numbers natively is to use BCD arithmetic or do it in another format like on raw text representing base 10 numbers
>>108779278SVG doesn't have this problem.
>>108779278Here's your perfect circle, anon.https://www.youtube.com/watch?v=eaMs9X1cwUY
do you realize what the fuck computers are capable of doing in earnestoh you poor shitter, wait until you realize
>>108779278deadass screenshotting this and putting it in my 4chan folder u mad funny bro
>>108779278Get a monitor with a resolution higher than 320x200.
>>108783258stop it unc