Skip to content

Draw 2D geometry in MonoGame/XNA, including primitives such as lines and polygons.

License

Notifications You must be signed in to change notification settings

RudeySH/Shapes2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shapes2D

Draw 2D geometry in MonoGame/XNA, including primitives such as lines and polygons.

Samples

These samples are included in the source.

An example of how to draw simple shapes in a grid. You can easily change the scale, grid type (triangle, square, hexagon) and color in the sample code.

Hexagon grid Triangle grid

An example of how to animate the shapes you draw.

Water animation Wave animation

Dependencies