Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
Four-Level Grayscale Drawing program
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Four-Level Grayscale Drawing program (Read 2260 times)
0 Members and 1 Guest are viewing this topic.
adrusi
LV2
Member (Next: 40)
Posts: 25
Rating: +4/-0
Four-Level Grayscale Drawing program
«
on:
May 30, 2013, 05:09:52 pm »
I made a little 4-level grayscale picture editor. It operates on the OS vars Pic3 (back buffer) and Pic4 (main buffer), which can both be either in ram or archive.
It's nothing special, but it's (hopefully) the last little project I do before I make something a bit bigger and more unique. That said, it's a decent tool and might be nice if you want to doodle with something a bit more than the TIOS drawing tools.
Controls:
F1
,
F2
,
F3
and
F4
set the color to draw with. F1 is black and F4 is white. White is the default, which can be confusing since it looks like it's not drawing anything at first. I probably should have initialized it to black, but I'm lazy.
0
enters pixel mode, which sets the pixel under the cursor to the selected color when
2nd
is held.
1
enters line mode, which draws lines of the specified color. Hit
2nd
to set the endpoints. Hit
mode
to cancel a started line.
2
enters rectangle mode, which draws a
filled
rectangle. Hit
2nd
to set the corners. Hit
mode
to cancel a started rectangle.
Hold
alpha
to speed up cursor movements, useful when moving to the opposite side of the screen or if there's lag caused by drawing large lines or rectangles.
Logged
Vijfhoek
LV4
Regular (Next: 200)
Posts: 120
Rating: +13/-1
Re: Four-Level Grayscale Drawing program
«
Reply #1 on:
May 30, 2013, 05:20:54 pm »
Sounds fancy, should check it out. One question though, what's the difference between the first and the second download?
::EDIT:: Can't seem to get it to work in Wabbitemu on a virtual TI-84+ Silver Edition running 2.55MP, the screen just glitches out and if I press, it outputs " xiting..." and returns control to the OS.
«
Last Edit: May 30, 2013, 05:34:05 pm by Vijfhoek
»
Logged
blue_bear_94
LV8
Addict (Next: 1000)
Posts: 801
Rating: +25/-35
Touhou Enthusiast / Former Troll / 68k Programmer
Re: Four-Level Grayscale Drawing program
«
Reply #2 on:
May 30, 2013, 06:45:51 pm »
Maybe you need both programs?
Logged
Due to dissatisfaction, I will be inactive on Omnimaga until further notice. (?? THP hasn't been much success and there's also the CE. I might possibly be here for a while.)
If you want to implore me to come back, or otherwise contact me, I can be found on GitHub (bluebear94), Twitter (@melranosF_), Reddit (/u/Fluffy8x), or e-mail (if you know my address). As a last resort, send me a PM on Cemetech (bluebear94) or join Touhou Prono (don't be fooled by the name). I've also enabled notifications for PMs on Omnimaga, but I don't advise using that since I might be banned.
Elvyna (Sunrise) 4 5%
TI-84+SE User (
2.30 2.55 MP
2.43)
TI-89 Titanium User (3.10)
Casio Prizm User? (1.02)
Bag
東方ぷろの
adrusi
LV2
Member (Next: 40)
Posts: 25
Rating: +4/-0
Re: Four-Level Grayscale Drawing program
«
Reply #3 on:
May 30, 2013, 07:51:04 pm »
Sorry, I should have put this in the original post. It expects the OS vars "Pic3" and "Pic4" to be defined. If they're not it should display an error message, but it might have gotten erased immediately, I haven't tested that since I wrote that code yesterday when I started. The screen glitching out is probably it trying to display the undefined picvars.
Just do
StorePic 3:StorePic 4
before running it. I guess the program should do that by itself, but whatever. It will work with the picvars from archive though.
The program file with the theta is the Axe source code and the other one is an actual runnable assembly program.
Logged
Vijfhoek
LV4
Regular (Next: 200)
Posts: 120
Rating: +13/-1
Re: Four-Level Grayscale Drawing program
«
Reply #4 on:
May 31, 2013, 11:59:03 am »
Okay, it works. Looks pretty neat, maybe a bit tedious to do pixelart.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
Four-Level Grayscale Drawing program