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

Work 6: Connect the vector dots

posted Feb 28, 2017, 8:35 AM by JonAlf Dyrland-Weaver
Recreate your connect the dots html/javacsript program using SVG instead of the canvas.
  • Every time the user clicks inside the SVG area, a circle should be drawn.
  • After the first circle, every subsequent click should also result in a line from from the previous circle to the next.
  • Include a clear button
    • clearRect() will not work, that is a canvas method. You need to remove all the circles somehow...
Put this under svg in the workshop
Comments