Saturday, November 17, 2012

Draw an arc inside a square

Below is a snippet on how you can draw arcs on four corner inside a square.
Why would you do that? Imagine you are designing a storytelling tutorial which requires you to dim down the entire scene, and then carve a rounded corner square within the “dimmed” screen.

Think of CityVille’s tutorial mode in Facebook games.

No comments: