{
"frames": false,
"update_duration_seconds":2,
"framerate":60,
"port":25567,
"address":"0.0.0.0",
"ratelimit":180,
"sitefiles": "static/index.html",
"useplacemap": false
}
-
Download Go Lang (1.19 preferred)
-
Git Clone ffmpeg (optional for timelapse)
-
Download Go Lang (1.19 preferred)
-
Git clone this github repo
-
From there use Git Bash and direct to your directory.
-> use
go build
to build the GO code to your device's OS and CPU Archectecture-> for different operating systems / CPU archiecture then look at Go's Cross Compiling System
-
Place the code into your server. Run it once and the settings.json file will be created.
-
You just need one png image (default). Put down a
canvas.png
and the code will use it as the main canvas.
SIDENOTE, if you are using a "placing map" then make a Black-and-White Pixel Only Canvas call it "placeable.png."
White Pixel = User cannot place. Black Pixel = User Can Place
ex. (left is "canvas.png" and right is "placeable.png")
- Have fun.
timelapse_1.mp4
Still in development, use ffmpeg. Command use:
ffmpeg -framerate 30 -pattern_type glob -i 'timelapse/frame%d.png' -r 120 -vcodec libx264 timelapse.mp4