Skip to content

Data Grid fills a grid container with squares. Squares are simple div elements in the container and each of them belongs to their unique object. Squares can be moved by arrows and WASD

License

Notifications You must be signed in to change notification settings

peterbanfi/data-grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Grid

What is this?

Data Grid fills a grid container with squares. Squares are simple div elements in the container and each of them belongs to their uniqe object.

The user can set the density (number of squares in the container). Can move the squares by WASD on the keyboard, can recolor them with SPACE, or do a hard reset, which reset the density as well.

What is this for?

I don't know it, but let me know if you find it somehow useful!

How to run it?

Just run index.html.

How to modify or extend?

Everything important is in the script.js. I tried to add meaningful comments anywhere I thought it might be helpful.

About

Data Grid fills a grid container with squares. Squares are simple div elements in the container and each of them belongs to their unique object. Squares can be moved by arrows and WASD

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published