The Pencil appears to put down the foreground color, the Eraser appears to clear to the background color.
Working at the pixel level, it is extremely useful to be able to "toggle" a pixel without switching tools. MacPaint (for example) would use the foreground color if you click on a pixel whose color is not the foreground color. If you start your Pencil drawing (click) on a pixel that is the foreground color, the Pencil draws with the background color instead.
Also, a modifier (like the Option key), is a nice way to also specify the background color for the pencil (regardless of the initial pixel clicked on).
These seem like great suggestions. I think I’ll implement them! Thank you so much!
Actually, I'm not referring to you but if all these suggestions were opened as issues, it would be easier for me to write a "thank you note" for each one lol
> Going to have a look at Tilf as well, to see if it is not too much work to get it to run in FreeBSD
It should work without any issues, as long as there’s a Python interpreter you can definitely run it. If needed, let me know and I’ll try to work on it. I have plenty of other ideas to implement as well.
I’m not a graphic designer guy, I wouldn’t know where to start, but maybe in the future I could use Tilf to draw the logo! My highest artistic expression, for now, will probably be redrawing some Earthbound characters to experiment with SDL3.
There’s no specific reason, I just liked the idea of a little elf/goblin having the freedom to draw whatever they wanted. At first, I wanted to call this project "Folletto" (in Italian, that means elf), but then I thought it would be better to keep an extremely simple name: a tiny elf who picks up his pencil and starts drawing. Tiny Elf.
That’s also why the project was built from scratch. The only real dependency of the project is PySide6. The icons don’t come from any package. PyInstaller is used solely for bundling purposes. As outlined in the README.md, running Tilf requires nothing more than an installed version of Python (3).
I already have some experience with Python/PySide6, and I was mainly interested in having a working prototype as soon as possible (I’m experimenting with SDL3 and animating squares isn’t exactly thrilling!). Plus, Qt widgets integrate very well with Python, it is so easy to create a section, especially when the documentation is well written, that helps a lot. Also, with PyInstaller, the build process for each platform is fairly straightforward (although for customized icons, there are a few extra steps to take).
There are some downsides of course (like the bundle size, for example), but that's not a problem, the core idea is: double-click on Tilf and start drawing right away.
Thanks! Although I had to use it for some things (like the logo, for example, and I’m not a "graphic guy"), in the end, since it’s a simple project by design, I didn’t mind, and the result isn’t bad at all.