- Installation
- Usage
- Contributing
- Credits
- License
If you have the code locally, just use: <script src="triangleGrid.js"></script>
in the body.
The code should be importable through node and AMD(testing still)
Can use the grid as a background or to show visuals on a triangular grid.
The triangleGrid html is there to show some ways to use the triGrid class.
Please test out the code in various browsers and operating systems, if ya find improvements or a bug, let me know.
If ya want to make your own modules, make them, send a module name, username/contact, description and link to where its located and they will be put under contributed modules.
class moduleName {
constructor(program) {
//"program" refers to the triGrid instance
//Push to modes to add a new Mode, if there are any
program.addMode("modeName");
//Add the group to toggle when mode changes, can be null
program.applyModeMenu("modeName",
program.createAndSetElement("g", program.scaledSVG, {id: "modeNameMenu"})
);
/*OR*/
//Only one parameter and a group will be made for ya.
program.applyModeMenu("modeName");
//Change or add necessary attributes to triGrid
program.attributeName = attributeName;
},
preparation(program) {
//"program" refers to the triGrid instance.
}
};
Please note that any modules that aren't hosted on this repository must use the GNU General Public License v3.0 license, to protect the module maker.
Module | By | Description | Link | Compatability Issues |
---|
Waiting to receive permission to include the names of people who helped me learn javascript
So far:
- Aayush Yadav: inspiration for project
- Chris Till: markdown, ux, tester
- Jesse Thomas: ux, tester
GNU General Public License v3.0