I'm trying to grasp some haskell by drawing simple pictures with gloss library. Is there a way to get a picture size?
circ :: Picture
circ = circle 100
I'm looking for something like:
width circ -- returns 200
I'm trying to grasp some haskell by drawing simple pictures with gloss library. Is there a way to get a picture size?
circ :: Picture
circ = circle 100
I'm looking for something like:
width circ -- returns 200