Opened 11 years ago

Closed 11 years ago

#26 closed defect (fixed)

Fix end of arc condition in arc rendering

Reported by: Ben Lippmeier Owned by:
Priority: blocker Milestone: 1.7.0
Component: Rendering Version: 1.5.0
Keywords: Cc:

Description

With this program:

import Graphics.Gloss
main    
= animate (InWindow "Foo" (800,800) (0,0)) black 
$ \t -> pictures 
       [ color white $ ThickArc (5 * t+ 0.01) (10 * t+ 0.1) 200 100
       , color red   $ ThickArc (5 * t+ 0.01) (10 * t+ 0.1) 250 10
       , color red   $ ThickArc (5 * t+ 0.01) (10 * t+ 0.1) 150 10 ]

The arc ends aren't at the right angle, depending on the value for the total arc length. I expect this is an interaction between the number of draw steps and the total length.

Attachments (1)

arc.png (7.6 KB) - added by Ben Lippmeier 11 years ago.
End of arc condition is wrong

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Ben Lippmeier

Attachment: arc.png added

End of arc condition is wrong

comment:1 Changed 11 years ago by Ben Lippmeier

Priority: normalblocker

comment:2 Changed 11 years ago by Ben Lippmeier

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.