Skip to content

Bredgren/geo

Repository files navigation

geo

GoDoc Build Status Go Report Card

This package contains a collection of 2-D types and other mathematical functions geared towards games in Go. See the geoexamples package for a few examples.

Features

  • Types for 2-D vector, rectangle, circle, and ray
  • A collection of easing functions
  • Functions for generating random numbers and vectors
  • Perlin noise and shaking functions
  • Several miscellaneous functions like Clamp, Map, and Mod