mysticsymbolic / mysticsymbolic.github.io

Fun with procedurally generated visionary art!
https://mysticsymbolic.art/
Other
52 stars 11 forks source link

Building Generator #44

Open ninapaley opened 3 years ago

ninapaley commented 3 years ago

A page to generate buildings out of symbols labeled "building", like this castle: castle test - Frame 0 The rules will be about how to arrange them: all aligned along their bottom edges, a range of sizes, a range of how many symbols in a building (ie min 2 max 8), orientation preserved, etc.

Once there is a way to make buildings, my hope is they can be preserved as their own objects and included in final compositions with backgrounds and foreground creatures.

ninapaley commented 3 years ago

I will include "building = true" in appropriate symbol TOMLs so the Building Generator knows what pool of symbols to select from.

toolness commented 3 years ago

Hey I just added an assets/buildings folder if you want to put the building symbols in there!

toolness commented 3 years ago

Oh wait... or are there already building symbols in the symbols directory? Did you end up putting building = true in the TOML?

ninapaley commented 3 years ago

@toolness I have not added any building info in the TOMLs. We could do it either way - use existing symbols with a line in their TOMLs, or create new assets for buildings. I'm game for either - which would be better for you? It won't take me long to create new building pieces.

toolness commented 3 years ago

Oh hmm, I guess the advantage of keeping it in the symbols directory is that the buildings could be used in creatures too? That's preferable, right?

I wonder if we could actually weave this into #51 and have "building" just be a keyword that's treated specially by the code? An advantage of that is that I could see us adding a feature to the creature builder that restricts the symbol "palette" to only include/exclude symbols with certain keywords--e.g. "make me a random creature that has no symbols with the keyword 'building' or 'hamburger'" could be thing one could ask for. And at the same time, the building generator would basically just filter the symbol palette to only include symbols with the "building" keyword (although perhaps we could even make that configurable, so that people could include hamburgers in their cityscapes)...