You can pick a specific color scheme, pattern, width, height, tilesize, and generate random patterns. You can also have a reference to a pattern you like that was generated by passing it a random seed.
/canvas?pattern=triangle&color=seafoam
usage: pattern=false
usage: pattern=triangle
usage: pattern=circle
usage: pattern=arc
usage: pattern=line
usage: pattern=mmm
hex values: ['#7A7D7D','#D0CFCF','#565254']
usage: omit color param from url
hex values: ['#C75146','#AD2E24','#81171B']
usage: color=red
hex values: ['#FF220C','#333745','#FF4B3E']
usage: color=brightred
hex values: ['#F08700', '#EFCA08', '#F49F0A']
usage: color=orange
hex values: ['#FFAF87','#FF8E72','#ED6A5E']
usage: color=salmon
hex values: ['#006BA6', '#0496FF', '#1D3461']
usage: color=blue
hex values: ['#495867','#577399','#BDD5EA']
usage: color=slate
hex values: ['#2B193D', '#5D4E6D', '#8A7090']
usage: color=purple
hex values: ['#413C58','#967AA1','#ACACDE']
usage: color=myrtle
hex values: ['#1E441E','#2A7221','#119822']
usage: color=green
hex values: ['#629460', '#96BE8C', '#ACECA1']
usage: color=lime
hex values: ['#F6C28B','#5296A5','82DDF0']
usage: color=coral
hex values: ['#476A6F','#519E8A','#7EB09B']
usage: color=jade
hex values: ['#7A7D7D', '#D0CFCF', '#565254']
usage: color=grayscale
sets the width of the generated canvas (if not passed into url the default is 500
)
usage: width=700
sets the height of the generated canvas (if not passed into url the default is 500
)
usage: height: 500
sets height and width dimensions of "tiles" in canvas (if not passed into url the default is 53.33
)
usage: tileSize=60
provides an identifier or reference to a generated pattern. By default a seed=0
is passed to the url. Accessing a pattern url with a defined seed will always return the associated pattern unless the random
param is set.
allows generation of random patterns everytime the user makes a request to the url (if not passed into url the default is false
). If a parameter is not set such as pattern
or color
that will be randomized too
usage: random=true