Commit Graph

31 Commits

Author SHA1 Message Date
Isaiah Odhner
7e30f39374 Add Paint icon ANSI art to Help > About Paint 2023-06-08 23:54:56 -04:00
Isaiah Odhner
9ed2513bab Rename sample file to use underscores 2023-05-18 14:35:52 -04:00
Isaiah Odhner
da861e4a2c Rename pathological test case SVG 2023-05-18 14:34:25 -04:00
Isaiah Odhner
3892dc503e WIP: open SVG files saved with the app
Progress!

print
2023-05-17 12:34:09 -04:00
Isaiah Odhner
6c3c34d3ac Move font files to folder 2023-05-16 20:14:18 -04:00
Isaiah Odhner
f5d97912b6 Design transparent/opaque options UI ANSI art
This is a first draft (or first 13 versions) of an ANSI art rendition of
MS Paint's transparent/opaque option selector used for the Select and
Text tools.

A somewhat silly smattering of notes:

- Emoji representation: 🛢️🔴🧊 or 🛢️🔴🟩
- More symbols considered (and some used):
  ⛀⛁⛃🛢️⬬
  ▰𝄰ᐟ⸍⸝🧊
  ╭╮🔴⏺◖◗
  ╰╯
- The red circle seems really unreliable so I don't think I can use it.
- Overlapping the red circle/sphere object is hard to represent!
- I managed to get something fairly legible in Ubuntu's terminal,
  not so much in VS Code. VS Code is harder; I might've modified some
  settings, I don't know, but it doesn't handle semigraphics as well,
  at least not on my computer. But...
- At least if you've used MS Paint before, you can recognize the general
  color/shape profile of the icons, if not parse out what the icons are
  meant to represent if you'd never looked closely at them before.
- I'm not sure if v12 or v13 is better. I moved the right border to the
  right a bit by making it Braille, but should the corners extend
  further right then (with two dots), or mirror the left border by using
  a single dot Braille character?
2023-05-16 02:47:32 -04:00
Isaiah Odhner
79cbeb9e30 Fix corrupted upper left pixel in sample file
(This bug has since been fixed.)
2023-05-16 02:30:10 -04:00
Isaiah Odhner
7bb6f28d1e Add some shading to the candle 2023-05-14 17:11:29 -04:00
Isaiah Odhner
c22d174b80 Add Unicode representation of Code Page 437 2023-05-12 21:35:41 -04:00
Isaiah Odhner
ddcd069fe9 WIP: use NanoTiny meta-glyph font when zoomed in
The encoding is wrong.
2023-05-12 19:27:47 -04:00
Isaiah Odhner
94e02197f5 Convert NanoTiny font to text (2x2 metaglyphs) 2023-05-12 18:53:36 -04:00
Isaiah Odhner
2753427ae6 Repack NanoTiny to remove border 2023-05-12 18:18:17 -04:00
Isaiah Odhner
0d2840d5da Recode samples with new efficient ANSI export
- Will this make the files smaller when compressed? Doubtful.
- Will this commit make the repo larger? Yes, since the old is kept.
- But keeping the files in line with current encoding will allow me
to see changes in encoding, using --recode-samples.
- I'm excluding files not saved with the app:
  generated files (4x4_font_template.ans and gradient_test.ans)
  which will be recreated in their original form when regenerating,
  and a manually created empty file (0x0.ans), which tests the minumum
  document size of 1x1.
2023-05-09 23:08:43 -04:00
Isaiah Odhner
fa625e5868 Add empty file as a sample 2023-05-09 22:08:47 -04:00
Isaiah Odhner
b814789b17 Generate font template for a meta-character font 2023-05-09 16:39:42 -04:00
Isaiah Odhner
cc06bcc6e7 Make pink fade to blue towards the bottom 2023-05-09 02:04:53 -04:00
Isaiah Odhner
de625b2d9b Arrange flowers in a spiral 2023-05-09 02:04:53 -04:00
Isaiah Odhner
2faf7f55a6 Make gradient test more floral 2023-05-09 02:04:53 -04:00
Isaiah Odhner
f7fdecd5a3 Generate gradient test ANSI art 2023-05-09 01:18:30 -04:00
Isaiah Odhner
aa915915c8 Add sample art: Clippy
👀
📎
2023-05-06 19:55:46 -04:00
Isaiah Odhner
1d26df938d Add 2x2.ans sample file (containing a border square) 2023-05-03 19:04:26 -04:00
Isaiah Odhner
fcfe1d354e Add 1x1.ans sample file (containing a smiley face) 2023-05-03 19:04:26 -04:00
Isaiah Odhner
cf81a4236a Convert line endings to CRLF in sample ANSI files
I used:
    cd samples && sed -i 's/$/\r/' *

A git diff across branches suggests that this command gives the same results:
    src/textual_paint/paint.py --recode-samples

And --recode-samples is now idempotent, for the current set of sample files.
2023-05-03 16:09:31 -04:00
Isaiah Odhner
817b05d291 Add highlights to scroll from candlelight
It's not super physical, but it looks better with than without, I think.
2023-04-30 01:06:04 -04:00
Isaiah Odhner
821e583df7 I drew a candle next to the scroll 2023-04-30 01:01:20 -04:00
Isaiah Odhner
8c07d3fc12 Add sample drawing of a scroll
X marks the spot, and all that.
2023-04-29 21:17:50 -04:00
Isaiah Odhner
818cf55c5e I drew some galaxies
just messin' around
2023-04-26 01:14:38 -04:00
Isaiah Odhner
7bbca533b2 Tweak dark clouds
I wanted to do more with this, but I actually ran into some problems
where it wouldn't replace a color. It might need a threshold.
2023-04-25 13:50:25 -04:00
Isaiah Odhner
d37291b9d3 Color Eraser test ahoy! 2023-04-25 13:41:02 -04:00
Isaiah Odhner
1c8a6493e9 Tweak ship: add helm and more rigging
This wheel is probably in the wrong place, but so is the rest.
2023-04-25 13:16:24 -04:00
Isaiah Odhner
9c5d2a5466 I really enjoyed drawing this ship
I have a bad habit of not actually using the software I create, but
whilst perhaps I should have gone to bed, this was a delight to create,
the childlike joy of picking blocks together to form an image, imagining
what I could do with different pieces, and putting silly smiley faces
in as the crew and making them all different colors.

I didn't look at any reference while drawing this, so... it doubtless
contains many inaccuracies.
But that's rather beside the point, isn't it?

Aside from just having fun with it, I observed that the Pick Color tool
is vastly more important than in a raster workflow, since it picks not
just a color, but two colors and a character! And I would really like
the Color Eraser feature. I would sometimes use the wrong blue to match
the sky and then have to Pick Color, change color, and replace the cell,
one by one, whereas the Color Eraser should take care of that.
It's a little awkward selecting colors with Ctrl click, with it
not showing the foreground color (Input doesn't seem to support it), and
with the cognitive dissonance between the background vs foreground
here vs in MS Paint. Other than that, it worked splendidly.
2023-04-25 13:16:24 -04:00