Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: 123outerme on October 01, 2014, 04:38:36 pm
-
Just for the lulz, I decided to make a paint program in TI-Basic. It only draws in lines and boxes, currently, but you can choose your color and swap colors in the middle of your paint session, or even save and come back to your picture at another time! I plan to add more features like advanced drawing methods.
In my latest version, I have freeform drawing and saving your work. I plan to add even more, though!
Here's what I have so far:
(http://i.imgur.com/MbkftNN.gif)
I did implement saving, but either Wabbit doesn't support Pic saving or it got corrupted a bit when I transferred it.
-
Interesting. What I am curious about is how lines work since it doesn't look like there is a different cursor for when you are starting to draw a line. To save drawings you would need to store them into picture files.
-
Interesting. What I am curious about is how lines work since it doesn't look like there is a different cursor for when you are starting to draw a line. To save drawings you would need to store them into picture files.
You just hit 2nd at the first point, hit 2nd at the second point, and the. it draws a line. I plan on adding the different cursors later. As for storing them into picture files, Kerm suggested that and I'm working on it :)
-
Ok thanks for the info. For the cursor you could try to make it so that it blinks between different colors when you are selecting the second line point so it's easier to distinguish. Something I wonder though is how you will work out the issue about stuff being erased when you move the cursor over it? Recalling the picture would fix it but that's slow.
-
Ok thanks for the info. For the cursor you could try to make it so that it blinks between different colors when you are selecting the second line point so it's easier to distinguish. Something I wonder though is how you will work out the issue about stuff being erased when you move the cursor over it? Recalling the picture would fix it but that's slow.
I can make it a circle when it's selecting the second point, and I'll work on it.
As for the stuff being erased, you can turn on no-erasing-cursor mode (freeform drawing, for now) and go through the line like that. I'll see if there's anything I can do to minimize cursor erasing.
Speaking of that, I have done a few things:
*Saving and loading
*Freeform drawing
*Other miscellaneous things
I will upload a screenshot when I have time.
Edit: Added the different cursor. It now blinks between circle and solid, but I don't slow down a lot so you can see it.
-
Actually, would the Input command with no argument work? I'm unsure if you use it but if you use Input with no argument, it lets you select a location on the graph screen then returns the X and Y coordinates. Maybe that's what you meant about freeform mode but otherwise it could be an alternative that prevents the cursor from erasing everything on its path.
(http://img.ourl.ca/input.gif)
Basically it's a point and click command.
-
I keep reading the name as "Pain TI" :P
So now you can only draw points, but plan to make it like the pen (http://tibasicdev.wikidot.com/pen) in the 83+/84+ series?
-
inb4 paint it wor painTIT
eeeeerm
yay a paint prog for the cse :D
-
inb4 paint it wor painTIT
eeeeerm
yay a paint prog for the cse :D
O.O
But yeah PaintIt would be a good name (although some people might think it's a game)