Skip to content

Add horizontal text rendering and configurable random ordering#5

Open
Blixza wants to merge 11 commits into
Catalyst-42:mainfrom
Blixza:main
Open

Add horizontal text rendering and configurable random ordering#5
Blixza wants to merge 11 commits into
Catalyst-42:mainfrom
Blixza:main

Conversation

@Blixza

@Blixza Blixza commented Sep 9, 2025

Copy link
Copy Markdown

Before
image

After
image

Comment thread src/glyphs.py
for i in range(len(glyphs)):
chars.append(glyphs[i])
char_index = 0

@Catalyst-42 Catalyst-42 Sep 15, 2025

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use only glyphs variable here, remove array of chars

Comment thread src/setup.py
'-r',
help='Render glyphs in a random order or not',
action='store_false',
dest='random_order'

@Catalyst-42 Catalyst-42 Sep 15, 2025

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here must be default of ARGS['random_order'], if setting will be changed via settings.toml file (see around examples in code)

@Catalyst-42

Copy link
Copy Markdown
Owner

And, please, try example with longer input string, to check how this text are displayed, a.e.

python3 glyphs.py -g "1234567890abcdefghjk...repeating..."  -r

Something like that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants