dhowe / ramble

Ramble v2.0
0 stars 3 forks source link

Length-aware similar selection for shadow text #74

Closed dhowe closed 2 years ago

dhowe commented 2 years ago

There are two texts (rural and urban), one is visible (specified in the domain variable), and the other is hidden, called the 'shadow' text. Replacements happen in both, here for the shadow-text. Currently we do contextualRandom()for both, however this is based on the layout for the current-domain text only. For the shadow-text it simply picks randomly. Instead we need to have an non-visible layout for the shadow text that allows us to do the same width measurements as we do for the current domain text

dhowe commented 2 years ago

this should be completed, needs more testing, perhaps with #81