Skip to content

An example of how to draw a grid using JavaScript and the HTML 5 canvas tag.

License

Notifications You must be signed in to change notification settings

eiskalteschatten/grid-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grid-js

This project is a small example of how to draw a grid using JavaScript and the HTML 5 canvas tag. It supports a variable number of lines along both the x and y axis as well as light and dark mode.

To run it, clone the repository and open index.html in your favorite browser.

Here are a couple of screenshots:

Dark Mode with a 5x5 grid Dark Mode with a 5x5 grid

Light Mode with a 20x20 grid Light Mode with a 20x20 grid


Alex Seifert - https://www.alexseifert.com

About

An example of how to draw a grid using JavaScript and the HTML 5 canvas tag.

Topics

Resources

License

Stars

Watchers

Forks