Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imagico/jsdotpattern
Generator for random periodic dot and symbol patterns for use in map rendering
https://github.com/imagico/jsdotpattern
Last synced: 9 days ago
JSON representation
Generator for random periodic dot and symbol patterns for use in map rendering
- Host: GitHub
- URL: https://github.com/imagico/jsdotpattern
- Owner: imagico
- Created: 2014-09-12T15:48:28.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-06-11T16:27:41.000Z (over 1 year ago)
- Last Synced: 2024-08-01T12:30:29.849Z (3 months ago)
- Language: JavaScript
- Size: 344 KB
- Stars: 22
- Watchers: 5
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - imagico/jsdotpattern - Generator for random periodic dot and symbol patterns for use in map rendering (others)
README
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](http://www.imagico.de/map/jsdotpattern.php).The tool is completely in javascript, no server side components. It makes
use of the following javascript libraries:* [JQuery](http://jquery.com/download/)
* [Snap.svg](http://snapsvg.io/)
* [SVG.toDataURL()](https://github.com/sampumon/SVG.toDataURL)
* [seedrandom](https://github.com/davidbau/seedrandom)
* [slick.js](http://github.com/kenwheeler/slick)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.