Chapter II. SUPERMAN
char[] krypton_DNA ={'█','█','▓','▒','░','#','≡','%','$','@','&'};
String earth_landing = "superman.jpg";
String human_camouflage= "clark.jpg";
PImage superman;
PImage clark_kent;
int exotic_disturbance = 10;
PFont krypton_cells;
float fly_ability;
float superhuman_speed;
void setup(){
superman= loadImage(earth_landing);
clark_kent= loadImage(human_camouflage);
size(800,800);
krypton_cells = loadFont("ArialMT-48.vlw");
fly_ability = superman.width/exotic_disturbance;
superhuman_speed = superman.height/exotic_disturbance;
fly_ability = clark_kent.width/exotic_disturbance;
superhuman_speed = clark_kent.height/exotic_disturbance;
println("Althought I'm a completely common person on Krypton, from the moment I landed on Earth, I sponteanously developed the following abilities: SUPERHUMAN STRENGTH, INVULNERABILITY, HEALING FACTOR, SUPERHUMAN SPEED, X-RAY VISION, HEAT VISION, SUPERHUMAN BREATH, SUPERHUMAN HEARING, SUPERHUMAN VISION, SUPERHUMAN OLFACTION, EIDETIC MEMORY, MASTER COMBATANT. We might say my new environment had a strong impact on me, as I do have a strong impact on it. I am a misfit, this world is too easy for me. I am the Various.");
}
void draw(){
background(255);
textFont(krypton_cells,exotic_disturbance+3);
for(int disorientation = 0; disorientation < height; disorientation+= exotic_disturbance){
for(int tropical = 0; tropical< width; tropical+= exotic_disturbance){
color environmental_maladjustment = superman.get(int(tropical),int(disorientation));
fill(environmental_maladjustment);
textAlign(CENTER);
float superhuman_vision = brightness(environmental_maladjustment);
char extraterrestrial_imbalance = krypton_DNA[int(superhuman_vision/25.5)];
text(extraterrestrial_imbalance,(tropical),(disorientation));
}
}
for(int disorientation = 0; disorientation< height; disorientation+= exotic_disturbance){
for(int tropical = 0; tropical < width; tropical+= exotic_disturbance){
color environmental_maladjustment = clark_kent.get(int(tropical),int(disorientation));
fill(environmental_maladjustment);
textAlign(CENTER);
float superhuman_vision = brightness(environmental_maladjustment);
char extraterrestrial_imbalance = krypton_DNA[int(superhuman_vision/25.5)];
text(extraterrestrial_imbalance,(tropical),(disorientation));
}
}
}
void keyPressed() {
if (key == CODED) {
if (keyCode == UP) {
exotic_disturbance++;
} else if (keyCode == DOWN) {
exotic_disturbance--;
}
}
constrain(exotic_disturbance,1,99);
}
* * * * * * * * * * * * * * * * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * * * ** * * * * * * * * * * *