Generate new worlds based on simple xyz->material functions
Quite naive, more a proof of concept.
Generate new worlds based on simple xyz->material functions Quite naive, more a proof of concept.
(create-world name gen-fn spawn-loc)
Create a new game world based on a generator function
gen-fn
is a function which takes (x y z) and returns a material.
Create a new game world based on a generator function `gen-fn` is a function which takes (x y z) and returns a material.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close