Configurable Graph Paper

by JayNick - uploaded on February 2, 2016, 2:11 am

Pass parameters to the URL or edit the source code variables to configure the graph paper for the division desired.

Pass parameters in the url i.e. graphpaper.svg?w=500&h=500&u1=50&u2=10&c1=black&c2=gray Use c=color to set both c1 & c2

or set script variables:

w - width

h - height

u1 - units per main grid line

u2 - units per fine grid line

c1 - color of main grid lines

c2 - color of fine grid lines

STEAM STEAMcoded STEM URL parameters chart configurable engineering graph graph paper math science script
Safe for Work?


0 Comments. Please login to comment or add your own remix.