https://github.com/aahdee/p5grid
An implementation of triangle, square, hexagon, and octagon grids for p5.js.
https://github.com/aahdee/p5grid
Last synced: 3 months ago
JSON representation
An implementation of triangle, square, hexagon, and octagon grids for p5.js.
- Host: GitHub
- URL: https://github.com/aahdee/p5grid
- Owner: aahdee
- License: lgpl-2.1
- Created: 2019-08-15T16:42:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-06T23:19:03.000Z (8 months ago)
- Last Synced: 2024-08-05T08:09:32.401Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 195 KB
- Stars: 69
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# p5grid

An implementation of highly flexible triangle, square, hexagon, and octagon girds for p5.js. Currently a work in progress with hex almost done. Hella hella alpha.
To check out the examples and demos, clone the repo and paste the local location of the `index.html` file for any example in your browser.
This started because I found [this website](https://www.redblobgames.com/grids/hexagons/) years ago and decided to make something of it. Because of this I'm creating libs for triangles, octagons, and squares as well.
Disclaimer: Be weary about updating this lib. It's likely that your code may break. I will try to keep a changelog for each commit.
Here's my [twitter](https://twitter.com/albeit_angular), if you'd like to know more about me.
### Special Thanks
Processing and p5.js for inviting me to the 2019 p5.js Contributors Conference, Luisa for being a great group leader at the p5.js Contributors Conference, and Ted, Sona, Shefali, Carlos, and Jun Shern of the Music and Code in Performance Track.