Tools
Tools that may come in handy
Third-party Tools
Including software, websites, etc.
- MapShaper Map editor. It can edit
.geojson
files and export them as.shp
files. - Three.js Editor Online 3D object editor for Three.js.
External Functions
Some external functions for MicroCity Web
Instructions
It is recommended to import functions online to ensure the use of the latest version of functions. You can also choose to download them locally and then upload for use.
Online import example
print('Downloading dependency library to virtual disk...')
os.upload('https://www.zhhuu.top/ModelResource/libs/file_name.lua')
print('Download complete')
Importing functions
If the function file name is abc.lua
, importing the function completes the process.
require("abc")
Function List
Mostly homemade functions.
Since the files are all hosted on GitHub Pages, online importing might be slower. You can opt to download them locally and then upload for use.
The list of code files provided on this site is shown in ModelResource/libs, and the list below are all files from the ModelResource repository.
Name | Description | Link |
---|---|---|
Histogram | Used to draw histograms | ModelResource/libs/Histogram.lua |
Subplot | Draw subplots when drawing multiple graphs | ModelResource/libs/Subplot.lua |
tablestr | Convert table to string | ModelResource/libs/tablestr.lua |
setpoint | Set display points at specified coordinates | ModelResource/libs/setpoint.lua |
🔨 Continuously updating...
This post is translated using ChatGPT, please feedback if any omissions.