Jump to content

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
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

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.4.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

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.

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

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...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.