Skip to content

An HTML5/Angular/JavaScript/UI exercise to calculate intersection/containment/adjacency between 2 rectangles

Notifications You must be signed in to change notification settings

Lukenickerson/angular-rectangles-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular JS Rectangles Exercise

Goal

Analyze two rectangles and determine features -- intersection, containment, adjacency -- that exist among them.

  • Showcases HTML5, JavaScript, Angular JS
  • Unique, responsive design and user interface

How to Use

URL: http://lukenickerson.github.io/angular-rectangles-exercise/

  • Click one of the 4 buttons to adjust the rectangles with some randomness
  • Modify the x,y values for individual vertices

External Libraries

  • Angular 1.3.15 (from Google, MIT-licensed)

Reusable Libraries

  • Coords class (originally created for stardust.js and RocketBoots)
  • Rectangle class (created for this project)

Created in less than 48 hours by Luke Nickerson

About

An HTML5/Angular/JavaScript/UI exercise to calculate intersection/containment/adjacency between 2 rectangles

Resources

Stars

Watchers

Forks

Packages

No packages published