Jump to content
You must now use your email address to sign in [click for more info] ×

Adding (perfect) circle shape, radius invariant to rotation.


Recommended Posts

Hi,

 

there are several complaints about circle made from ellipse not being perfect, meaning the radius will differ slightly depending on rotation angle. Most obvious if you look at 45° angle.

For reference, one of the latest bug reports:

https://forum.affinity.serif.com/index.php?/topic/148430-power-duplicate-around-circle-not-precise-what-am-i-missing/&tab=comments#comment-840218

This could easily solved by adding one additional shape: a circle, made of 12 nodes instead of only 4. The "real" circle will be almost rotation invariant.

Almost means that in all tests using up to 256.000^2 pixel canvas size the deviation of radius while rotating this circle was smaller than 1 pixel.

The regular ellipse based circle causes a deviation of up to 12,7px at 65536 px canvas, or 1/5000 or 0,2 *10^-3

 

Edited by NotMyFault

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.

 

Link to comment
Share on other sites

  • 4 weeks later...

I don't see a question in your post, but this would make a good Feature Request. Seems like an elegant solution that might involve a lot less work than revising the math of the ellipse tool.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Yeah, the ellipse tool can stay with its imperfections - it is intentionally not called a circle tool.

Simply adding a new circle tools (based on 12 instead of 4 nodes) will solve the problem several users raised.

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.

 

Link to comment
Share on other sites

  • 3 months later...

I was able to get fairly accurate results with the Cloud tool, with 12 Bubbles. I checked the result with a star with 12 beams as @NotMyFault advised, as well as with 24 beams, and got a good result. Circle.afdesign

 

Link to comment
Share on other sites

  • 1 year later...
On 10/24/2021 at 6:41 PM, NotMyFault said:

Yeah, the ellipse tool can stay with its imperfections - it is intentionally not called a circle tool.

Simply adding a new circle tools (based on 12 instead of 4 nodes) will solve the problem several users raised.

I just tried this with the largest possible canvas size I could get to fit on my 32" display ( 565+ yards in both horizontal and vertical dimensions) using the cloud tool with only 4 bubbles, and it still maintained perfect accuracy at that scale.... Blue is the radius, red is the Oval tool's "circle," and green is the Cloud tool with 4 bubbles.

 

image.png.184be3142bbf250b4501f32eb593067d.png

2021 16” Macbook Pro w/ M1 Max 10c cpu /24c gpu, 32 GB RAM, 1TB SSD, Ventura 13.6

2018 11" iPad Pro w/ A12X cpu/gpu, 256 GB, iPadOS 17

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.