Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eiskalteschatten/grid-js

An example of how to draw a grid using JavaScript and the HTML 5 canvas tag.
https://github.com/eiskalteschatten/grid-js

canvas canvas2d

Last synced: 26 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://github.com/eiskalteschatten/grid-js/blob/main/screenshots/dark-mode-5-by-5.jpg?raw=true)
*Dark Mode with a 5x5 grid*

![Light Mode with a 20x20 grid](https://github.com/eiskalteschatten/grid-js/blob/main/screenshots/light-mode-20-by-20.jpg?raw=true)
*Light Mode with a 20x20 grid*

---

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