Courses‎ > ‎Software Development‎ > ‎Dyrland-Weaver‎ > ‎Work‎ > ‎

Work 00:

posted Feb 2, 2018, 10:18 AM by JonAlf Dyrland-Weaver
Create the page demonstrated in class today.

  • The only requirement is that it contain a canvas, you can be as minimalist or opulent as you'd like after meeting that requirement.
  • Oh wait, you also a need a clear drawing button, that's important, but that's it.
  • Also, you need a toggle button.
  • You'll also need this paddle game.
  • Your javascript code should be able to to do, at a minimum 3 things
  • Draw a shape on the canvas as the user clicks inside it.
    • The shape location should be based on the click location.
  • Toggle between drawing a circle or square when the toggle button is clicked.
  • Clear the canvas when the user clicks the clear button.
put your html and canvas files in the workshop2 under 00_canvas