Skip to content

AmanRaj1608/Sketch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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