Skip to content

Instantly share code, notes, and snippets.

@YujiSODE
Last active July 13, 2018 09:00
Show Gist options
  • Save YujiSODE/e67e561b2e14dd84ff93efb672001bdb to your computer and use it in GitHub Desktop.
Save YujiSODE/e67e561b2e14dd84ff93efb672001bdb to your computer and use it in GitHub Desktop.
It can be used as a free landform map data (hexadecimal version in JavaScript). This is a map showing imaginary landform that expressed by heights in 19x26 grid on 1/25000 scaled map.
/*imaginaryLandform
* imaginaryLandform_hex.js
**===================================================================
* Copyright (c) 2018 Yuji SODE <yuji.sode@gmail.com>
*
* This software is released under the MIT License.
**===================================================================
* It can be used as a free landform map data (hexadecimal version in JavaScript).
* This is a map showing imaginary landform that expressed by heights in 19x26 grid on 1/25000 scaled map.
*----------------------------------------------
* this hexadecimal landform map is based on imaginaryLandform_20180601.tcl (Yuji SODE,2018; the MIT License)
*=== Original version ===
* - imaginaryLandform/imaginaryLandform_20180601.tcl (Yuji SODE,2018): the MIT License; https://gist.github.com/YujiSODE/04348f5f81ae4276118179143ec56ffd
* this landform map was originally designed by Yuji SODE on [2018-06-01]
*=== map informtion in decimal ===
* - Width: 19
* - grid: 19x26
* - Max height: 155
* - Min height: 5
**===================================================================
*/
var landform=[
"6666789877665544444",
"66789aaaa9876555444",
"6789abcbba987665544",
"689abcddcba98665544",
"78aabcfeccba8766544",
"79abcdffecbb8766544",
"79aabcdeddcb9876544",
"789abbbcdddba876544",
"6789aabbcccca876544",
"56789999bbbcb876554",
"4566778899aba876554",
"2345677778899876654",
"1223444556678887665",
"1122233333447898765",
"1111122233337899875",
"11111112233578ab976",
"01111112334689aba87",
"00111112346889bca97",
"0001112345789bcca97",
"000111235789abdca97",
"00011224689abccb987",
"00011235789abbba876",
"0011224689aaaa99776",
"0012225788999987766",
"0112235678888777666",
"1112245677777776666"
].join("\n");
/*=== License ===
* MIT License
*
* Copyright (c) 2018 Yuji Sode
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
@YujiSODE
Copy link
Author

Color map of this landform data

imaginarylandform_hex_190x260px

this color map is created using hexMap2Canvas.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment