void setup(){
noLoop();
}
void draw(){
// Add your code here.
}
// This code calculates the secret code version of each letter.
int[] secretCodes = { 255, 0, 5, 10, 250, 15, 20, 25, 245, 30, 35, 40, 45, 50, 240, 55, 60, 65, 70, 75, 235, 80, 85, 90, 95, 100};
// Call this function with a character to find out what it is in the secret code
int secretCode(char c){
if((c >= 'a') && (c <= 'z')){
return secretCodes[c - 'a'];
}
else if((c >= 'A') && (c <= 'Z')) {
return secretCodes[c - 'A'];
}
else
return 122;
}