Giter Club home page Giter Club logo

info340_lab4_canvas's Introduction

Are you stuck?

One of the most important lessons that I have learnt in life is how to teach myself. That is because in your academic or career path, you will encounter many professors/instructors whose teaching styles will not match your learning style. Luckily, STEM nowadays is very easy to learn by yourself. So I really encourage you guys to learn things on your own. Here are some steps to follow when you are stuck:

  1. Go to the documentation or Stack Overflow.
  2. Ask your neighbor. Getting to know your classmate might help you choose teammates for your project.
  3. I have a solution! Go look at it and see if it makes sense.
  4. Ask me!

If you guys don't agree with the paragraph above, I am more than willing to answer you guys.

Canvas! Drawing!

In this exercise, you will use HTML5 Canvas to produce a clock. As an extra, you guys can animate it through call back functions!

An example clock drawing

To complete the exercise, edit the included js/index.js file to add in the code described in the comments. Note that you will not need to edit the HTML file!

You can see the results of your work by opening up the included index.html file in a browser. Remember to refresh the page after you update your code, and to check for any errors in the Developer console.

Burn and Roast

Here is an optional and anonymous survey.

Be a nice classmate

Did you finish early? Help the people next to you if they have questions. (Optional) Tell your neighbour a funny story about your childhood if you want to make their day. If you had a boring childhood, just say something nice! ๐Ÿ˜†

info340_lab4_canvas's People

Contributors

kaze-st avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

yan530 kileywong

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.