server

command
v0.0.0-...-17a2a95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

Leaflet Server

To run the server, simply build the binary and run it.

go build main.go
./main

The server will serve http on port 3333 by default, so you can access it via http://localhost:3333.

Enjoy! :)

UI elements

D: Display mode (will cycle through various visualizations)

B: Borders

W: Wind (and other) vectors

R: Rivers

S: Shadows (shaded relief)

A: Enable aspect shading for shadows (slightly better contrast)

webglearth

If you want to see the generated world on a globe, use the following command:

go build main.go
./main --use_globe=true

This will render the map on a simple globe. We'll switch to a different library in the future, but it is a nice proof of concept for now.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL