Skip to content

AmanRaj1608/Sketch

Folders and files

NameName
Last commit message
Last commit date
Dec 5, 2019
Dec 5, 2019
Dec 5, 2019
Oct 9, 2020
Apr 26, 2020
Oct 5, 2020
Apr 26, 2020
Oct 5, 2020
Nov 16, 2020
Nov 16, 2020

Repository files navigation

A simple Sketch

GitHub issues GitHub stars GitHub forks Twitter GitHub license


A sketch made using 2d canvas. Use Arrows from keyboard to draw.

Pseudo Code for JavaScript πŸ“ :

- Select the elements on the page - canvas, shake button
- Create random X and Y starting points on the canvas
- Listen for arrow keys
- Write a draw function
  - Move our X and Y values depending on what the user did
  - Create a Line 


Made with ❀️ by Aman Raj