Posts

Showing posts from March, 2017

Self Insertion

Image
For my self-insertion, I put myself in a lovely resort pool in Hawaii. I have always longed to take a trip to Hawaii so I thought this was the perfect opportunity. I placed myself in the pool out of the shadows of the trees and added a shadow underneath my tube. I also tried to make it look like my bottom foot was underwater. Overall, using the selection tools in photoshop didn't seem to hard, the worst part was trying to find a picture and place to insert me. Original Photos:

HTML Coding

Image
For this assignment I chose to code the apple logo. The hardest part about this was the bulge on the left side of the apple. I had to change it from a quadratic to a bezier curve a few times. <!DOCTYPE HTML> <html> <head> <script> window.onload = function() { var canvas = document.getElementById("myCanvas"); var context = canvas.getContext("2d"); ////////////////////////////////////// start below this line ˇˇˇˇˇˇˇˇˇˇ //stem// context.beginPath(); context.moveTo(500, 15); context.quadraticCurveTo(375, 25, 378, 149); context.quadraticCurveTo(500, 149, 500, 15); context.fillStyle = "black"; context.fill(); context.strokeStyle ="black"; context.stroke(); //apple// context.beginPath(); context.moveTo(605, 205); context.quadraticCurveTo(500, 125, 378, 175); context.quadraticCurveTo(275, 125, 175, 205); context.bezierCurveTo(116, 245, 116, 405, 175, 475); context.quad