4dccbc0c808a
Glyph mutation
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Mon, 14 Dec 2015 16:13:27 +0000 |
parents | c1eca679990a |
children | 57ce46be0449 |
branches/tags | (none) |
files | src/silt/core.clj |
Changes
--- a/src/silt/core.clj Mon Dec 14 15:35:34 2015 +0000 +++ b/src/silt/core.clj Mon Dec 14 16:13:27 2015 +0000 @@ -124,8 +124,12 @@ (maybe (or mc 20) v (mutate-directions v))) (update-in [:styles :fg] - (maybe (or mc 0.01) v - (rr/rand-nth [:white :blue :green :yellow :red])))))) + (maybe (or mc 0.8) v + (rr/rand-nth [:white :blue :green :yellow :red]))) + (update :glyph + (maybe (or mc 0.01) v + (rr/rand-nth ["♞" "☃" "ℵ" "ℇ" "⧲" "⦼" "⨾" "∂" "∀" "€" + "₵" "★" "♞" "♟" "❣" "¿" "?" "§" "@"])))))) (defn map-vals [m f] (into {} (for [[k v] m]