1.0.3 • Published 4 years ago

geohashtorgb v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

gethashToRGB

ジオハッシュ文字列をよろしくな色にします。

npm version

usage

var geohashToRGB = require("../index")

var geohash = 'xn1rc';

# 適当な色
geohashToRGB.geohashToRGB(geohash)
# アタック25な色(透過)
geohashToRGB.geohashToAttack25(geohash, 0.5)

適当な色

sample1

アタック25風

sample2

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago