https://www.cemetech.net/programs/index.php?mode=file&id=1584

ICE color picker is now in archives ↑ (and actually updated to what the screenshot shows!)

AYY I updated it check out this handy pic:




Select a color from the default ICE palette and view it enlarged, as well as get its number for use in an ICE program.
If you want a pretty layout like this:



That can be achieved with code like this, given x and y in the range [0, 16) (warning: untested):

Code:
color = (x < 8 ? x : 23 - x) + (y < 8 ? y * 32 : (15 - y) * 32 + 16)
Translated:


Code:
X->P
If X>7
23-X->P
Y*32->V
If Y>7
(15-Y)*32+16->V
P+V->C
So what are my errors:

Code:

For(X,1,16
For(Y,1,16
If X>7
23-X→S
End
Y*32→T
If Y>7
(15-Y)*32+16→T
End
S+T→C
det(2,C
det(36,S,T,16,16
End
End
Pause
det(1


Code:

det(0)
For(X,0,15
For(Y,0,15
If X>7
23-X→S
End
Y*32→T
If Y>7
(15-Y)*32+16→T
End
S+T→C
det(2,C
det(36,X*15,Y*15,15,15
End
End
Pause
det(1
  
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