Custom Query (25 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (19 - 21 of 25)

1 2 3 4 5 6 7 8 9
Ticket Resolution Summary Owner Reporter
#23 fixed Add gloss-field package to render 2D bitmaps Ben Lippmeier
Description

Add skeleton for drawing repa-crystal style animations.

fieldInWindow
 :: String
 -> (Int. Int)
 -> (Int, Int)
 -> (Time -> Point -> Color)
 -> IO ()
#24 fixed GLFW-b doesn't reset resolution if the user function throws an exception Ben Lippmeier
Description

On 07/01/2012, at 17:57 , Thomas DuBuisson wrote:

It seems when I throw an exception inside animate GLFW-b fails to reset the proper resolution:

import Graphics.Gloss

main = do
 animate (FullScreen (500,500)) black (rectangleSolid (error "hi"))
#26 fixed Fix end of arc condition in arc rendering Ben Lippmeier
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.

1 2 3 4 5 6 7 8 9
Note: See TracQuery for help on using queries.