JavaScript Objects and Refactoring – Circle Object

Javascript Objects and Refactoring – Circle Object

Prerequisites

Lecture – Drawing a Circle on the Canvas

Summary

Demonstrates taking a piece of simple procedural code and refactoring to create an object. The example is the Circle object.

Video

Reference Materials

JSFiddle Code – First iteration – http://jsfiddle.net/reaglin/mn92kjdL/

JSFiddle Code- Second Iteration – http://jsfiddle.net/reaglin/b83a3gsx/

Additional Information

COP 4813 Lectures