I had the idea today to add more colors to the TI-84 Plus CE. I haven't looked around for this, so someone may have already done it, but here's the gist of it:

I've used two For( loops (one inside the other) to alternate 2 different default colors, pixel by pixel. It ends up meshing the colors together. So far I have added 9 extra colors to the built-in 8 (that are in the rainbow). I'd like to add some more grays as well and possibly program a gimp-like app for the TI-84.

This is all written in basic. Here is a sample of the code:


Code:

For(X,~10,10,.1)
For(Y,~10,10,.2)
A*~1→A
If A=1
Pt-On(X,Y, 1ST COLOR
If A=~1
Pt-On(X,Y, 2ND COLOR
End
End



dankcalculatorbro wrote:
I had the idea today to add more colors to the TI-84 Plus CE. I haven't looked around for this, so someone may have already done it, but here's the gist of it:

I've used two For( loops (one inside the other) to alternate 2 different default colors, pixel by pixel. It ends up meshing the colors together. So far I have added 9 extra colors to the built-in 8 (that are in the rainbow). I'd like to add some more grays as well and possibly program a gimp-like app for the TI-84.

This is all written in basic. Here is a sample of the code:


Code:

For(X,~10,10,.1)
For(Y,~10,10,.2)
A*~1→A
If A=1
Pt-On(X,Y, 1ST COLOR
If A=~1
Pt-On(X,Y, 2ND COLOR
End
End





I did something similar to this for CE-FLOW at first. You can use thin diagonal lines to color multiple pixels at the same time, which is much faster than changing them one by one. The technique of mixing colored dots to make other colors is called dithering.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement