Posts

Showing posts from September, 2019
Image
I found inspiration through one of the templates we were sent and began there. I started with the largest square and worked my way in to the smallest. Then changed the colors to black and white for the visual effect. I then added the quadratic curve and changed the color. Then I added the Bezier curves to the background, and changed the line thickness of the squares to where you could see the background colors behind the square. Total Hours; 2 1/2 HTML CODE <!DOCTYPE HTML> <html> <head> <script> window.onload = function() { var canvas = document.getElementById("myCanvas"); var context = canvas.getContext("2d"); ////////////////////////////////////// start below this line ˇˇˇˇˇˇˇˇˇˇ // this needs to be included with the repeat once in a document var canvas2 = document.createElement('canvas'); var context2 = canvas2.getContext('2d'); canvas2.width = canvas.width; canvas2.height = canvas.height; ////