Joachim_L Posted May 12, 2020 Posted May 12, 2020 This is what I've been told decades ago. In the Affinityverse a perfect circle has 360,00001° Test yourself with 6 decimal places for degrees. Quote ------ Windows 10 | i5-8500 CPU | Intel UHD 630 Graphics | 32 GB RAM | Latest Retail and Beta versions of complete Affinity range installed
walt.farrell Posted May 12, 2020 Posted May 12, 2020 I've read elsewhere that Affinity does not have "true" circles. Perhaps this is another aspect of that? Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.2.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
Solly Posted May 13, 2020 Posted May 13, 2020 Welcome to the world of computer representation of rational numbers. Rounding will always take place somewhere. Here you see a 0.00000278% error. This topic of numerical representation was an active topic of discussion in computer languages, programming, and scientific calculations in my student days in the early 1970's. The answer to the problem was always, "what amount of error no longer makes a difference in the result for practical purposes?" To think of it another way, a 360 degree circle is an ideal that is approximated to any degree of precision. The more like the ideal, the more time and expense involved. A more precise measuring instrument is more expensive. Very few of us have need of a micrometer for everyday use around the house, but someone wanting to track paper thickness would certainly have one. There's nothing to see here, move along. sfriedberg, Joachim_L, davemac2015 and 2 others 3 1 1 Quote Solly JFSJ N3MKH
Staff Gabe Posted May 14, 2020 Staff Posted May 14, 2020 Hi all, I moved this to feature requests as it's not a bug, but just a small rounding error Quote
Staff Ben Posted September 1, 2021 Staff Posted September 1, 2021 This will be because all angles are represented internally as radians. We then convert them to degrees using a*180/pi. That leads to a small amount of error in floating point precision. The error is small enough not to matter in real terms. In this example - the angle is not about the circle, but the arc start/end when presenting a pie shape. As Walt also says - we use cubic bezier quadrant approximations for a circle/ellipse - so there is an element of error in the outline compared to a mathematically true circle. Quote SerifLabs team - Affinity Developer Software engineer - Photographer - Guitarist - Philosopher iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395 MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300 iPad Pro 10.5", 256GB
Alfred Posted September 1, 2021 Posted September 1, 2021 20 minutes ago, Ben said: all angles are represented internally as radians It’s been mentioned elsewhere that it would be useful to have an option for the user to work in radians instead of degrees. If that’s what you already use internally, it seems like a no-brainer to include such an option. Patrick Connor 1 Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)
NotMyFault Posted September 1, 2021 Posted September 1, 2021 4 hours ago, Alfred said: It’s been mentioned elsewhere that it would be useful to have an option for the user to work in radians instead of degrees. If that’s what you already use internally, it seems like a no-brainer to include such an option. The procedural texture filter allows to choose between these UOM. Unfortunately this doesn’t help here. Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.