• Log In
  • Log In
Science Leadership Academy @ Center City
Science Leadership Academy @ Center City Learn · Create · Lead
  • Students
    • Mission and Vision
  • Parents
  • Community
    • Mission and Vision
  • Calendar

Web Design1 - Alfano Public Feed

Create a Post

Canvas Scene/Drawing

Posted by Kenny Nguyen in Web Design1 - Alfano on Friday, May 31, 2013 at 12:04 pm

Canvas
Canvas
      ​I chose to build this drawing because it seems very unique. It is similar to a scenery rather than a drawing. It was a drawing at first but then I played with the codes a little. Then it turns out to be a sunset-like scenery. In modifying this code, I used my knowledge from building the HTML codes. HTML coding and the canvas is almost similar but different functions. The section of the canvas code that I would like to point out is modifying the speed of the circle. It is followed by the following code, c.fillStyle = "white"; / c.beginPath (); / c.arc(posX, posY, 340, 90, 0, TWO_PI, false); / c.fill(); / }, 30); This part of the code modifies the speed and the flowing direction of the circle. The X and Y position modifying the direction and the 30 represents the speed. The lesser the value is, the faster it goes.

Canvas drawing/scene --> http://knguyen.rockethacker.com/index.html
Be the first to comment.

ghkjkljj

Posted by Abou Hinson in Web Design1 - Alfano on Tuesday, October 23, 2012 at 12:31 pm

Screen Shot 2012-10-09 at 11.57.34 AM
Screen Shot 2012-10-09 at 11.57.34 AM
Be the first to comment.
RSS

WEB-003

Introduction to online systems and web design

Term
2012-13

Teacher

  • Chris Alfano
Science Leadership Academy @ Center City · Location: 1482 Green St · Shipping: 550 N. Broad St Suite 202 · Philadelphia, PA 19130 · (215) 400-7830 (phone)
×

Log In