gennyble / textual

Text Rendering as a Service
Other
9 stars 1 forks source link

Random font option #39

Open gennyble opened 1 month ago

gennyble commented 1 month ago

Cute to see new fonts.

Idea how this could be implemented: For the segment that &randomfont (or whatever the key is) exists in, we hash it. We take some part of the hash, or add all the bytes up I don't care, and modulo by how many fonts we have. this means it won't change if the segment doesn't! which is something i want.