How to efficiently render text

Does anyone know how to render text using points efficiently? I don’t want to make a 16-segment display (for letters), so I’m just using points.

My idea was to use a variable, and it can be 1-26. Then I have 26 different points for each letter A-Z. But thats really tedious and wastes 26 lines of expression space.

People who might be interested: @Guzman_Tierno @Daniel_Grubbs

cant you use a list?

I would essentially Have the same problem… instead of directly referencing the variable, I just reference the list with the index [1..26]. That wouldn’t really change anything.

The problem is Desmos has no character set.

daniel or guzman should know

I just tagged them in the post

alright, question though, what are you making, a font?

No. I want to add a feature to my Desmos Assembly language.

maybe this is useful:
https://www.desmos.com/calculator/nfnadjw1tc

YES I HAVE BEEN WAITING FOR YOU LIKE A BILLION YEAR thanks :slight_smile:

(just looked, I don’t think you can work around NOT defining each letter as a seperate variable)

no, I think every letter needs to be a variable … but how is this a problem?
here’s a simplified version:
https://www.desmos.com/calculator/5pqid6yphe

Eh… it’s just last time I did something complex (my art submission), I used 580 lines when I think now I could’ve just used 400. It’s like PSTD but for desmos.

for some reason, the letter v just doesnt work

Instead of your long conditional, you could make an indexed list of functions.

1 Like

yes, that’s way better … but, btw, the original graph is not mine …

https://www.desmos.com/calculator/5pqid6yphe

here’s the version using a list of functions:
https://www.desmos.com/calculator/wdawtclujn

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.