Walkmap 0.1.0-SNAPSHOT
Released under the EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0
A Clojure library designed to assist in computing walkmaps for games.
Installation
To install, add the following dependency to your project or build file:
[journeyman-cc/walkmap "0.1.0-SNAPSHOT"]
Topics
Namespaces
walkmap.edge
Essentially the specification for things we shall consider to be an edge. An edge is a line segment having just a start and an end, with no intervening nodes.
Public variables and functions:
walkmap.id
The namespace within which the privileged keyword :walkmap.id/id
is defined.
Public variables and functions:
walkmap.microworld
An interface between walkmap and microworld, to allow use of microworld functionality to model things like rainfall, soil fertility, settlement and so on.
Public variables and functions:
walkmap.ocean
Deal with (specifically, at this stage, cull) ocean areas
Public variables and functions:
walkmap.path
Essentially the specification for things we shall consider to be path. Note that for these purposes path
means any continuous linear feature, where such features specifically include watercourses.
Public variables and functions:
walkmap.polygon
Essentially the specification for things we shall consider to be polygons.
Public variables and functions:
walkmap.read-svg
Utility functions for scalable vector graphics (SVG) into walkmap structures.
Public variables and functions:
walkmap.routing
Finding optimal routes to traverse a map.
walkmap.stl
Utility functions dealing with stereolithography (STL) files. Not a stable API yet!
Public variables and functions:
walkmap.svg
Utility functions for writing stereolithography (STL) files (and possibly, later, other geometry files of interest to us) as scalable vector graphics (SVG).
Public variables and functions:
walkmap.tag
Code for tagging, untagging, and finding tags on objects. Note the use of the namespaced keyword, :walkmap.tag/tags
, denoted in this file ::tags
. This is in an attempt to avoid name clashes with other uses of this key.
walkmap.vertex
Essentially the specification for things we shall consider to be vertices.
Public variables and functions: