Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.14 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.14 KB

Periodic dot and symbol pattern generator

This is the source code of a javascript tool to generate random periodic dot and symbol patterns for use in map rendering. You can try it out in the online version.

The tool is completely in javascript, no server side components. It makes use of the following javascript libraries:

Adding your own symbols

The content of the symbol library is stored in a javascript object in symbols.js.
This is generated with the shell script symbols_json.sh from the individual SVG files in the symbols subdirectory. You can add your own symbols by putting them there and running the script again. Note this is not very robust so you might have troubles when you add complex SVGs. Have a look at the existing files for the expected structure.

Licensed under AGPLv3.