clear;
maxX = 100;
maxY = 100;
A = zeros(maxY,maxX,3,'uint8');
A(:,:,1) = 50;
A(:,:,2) = 50;
A(:,:,3) = 50;
f = 0;
t = 0;
T = 0;
for i = 1:25    
    h1 = 10+t; h2 = 15+t;
    e1 = 17+t; e2 = 22+t;
    L1 = 24+t; L2 = 29+t;
    L3 = 31+t; L4 = 36+t;
    O1 = 38+t; O2 = 43+t;
    k1 = 45+t;
    j1 = 50+t; j2 = 53+t; j3 = 55+t; j4 = 60+t; j5 = 62+t; j6 = 65+t;
    if (h1<2) && (e1>2) && (L1>2) && (L3>2) && (O1>2) && (k1>2) && (j1>2)
        hold on
        % H
        h1 = maxX -5 + T; h2 = maxX + T;
        A(20:80,h1,1) = 0; A(20:80,h1,2) = 255; A(20:80,h1,3) = 0;
        A(50,h1:h2,1) = 0; A(50,h1:h2,2) = 255; A(50,h1:h2,3) = 0;    
        A(20:80,h2,1) = 0; A(20:80,h2,2) = 255; A(20:80,h2,3) = 0;
        % E
        A(50:80,e1,1) = 255; A(50:80,e1,2) = 0; A(50:80,e1,3) = 0;
        A(50,e1:e2,1) = 255; A(50,e1:e2,2) = 0; A(50,e1:e2,3) = 0; 
        A(80,e1:e2,1) = 255; A(80,e1:e2,2) = 0; A(80,e1:e2,3) = 0;
        A(65,e1:e2,1) = 255; A(65,e1:e2,2) = 0; A(65,e1:e2,3) = 0;
        % L
        A(50:80,L1,1) = 0; A(50:80,L1,2) = 0; A(50:80,L1,3) = 255;
        A(80,L1:L2,1) = 0; A(80,L1:L2,2) = 0; A(80,L1:L2,3) = 255;
        % L
        A(50:80,L3,1) = 200; A(50:80,L3,2) = 0; A(50:80,L3,3) = 255;
        A(80,L3:L4,1) = 200; A(80,L3:L4,2) = 0; A(80,L3:L4,3) = 255;
        % O
        A(50:80,O1,1) = 0; A(50:80,O1,2) = 200; A(50:80,O1,3) = 255;
        A(80,O1:O2,1) = 0; A(80,O1:O2,2) = 200; A(80,O1:O2,3) = 255;
        A(50:80,O2,1) = 0; A(50:80,O2,2) = 200; A(50:80,O2,3) = 255;
        A(50,O1:O2,1) = 0; A(50,O1:O2,2) = 200; A(50,O1:O2,3) = 255;
        % !
        A(20:77,k1,1) = 200; A(20:77,k1,2) = 255; A(20:77,k1,3) = 100;
        A(79:80,k1,1) = 200; A(79:80,k1,2) = 255; A(79:80,k1,3) = 100;
        % :)
        A(30:70,j1,1) = 200; A(30:70,j1,2) = 200; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 200; A(70,j1:j6,2) = 200; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 200; A(30:70,j6,2) = 200; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 200; A(30,j1:j6,2) = 200; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 200; A(40:45,j3,2) = 200; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 200; A(40:45,j4,2) = 200; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 200; A(60:65,j2,2) = 200; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 200; A(60:65,j5,2) = 200; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 200; A(65,j2:j5,2) = 200; A(65,j2:j5,3) = 50;
        imagesc(A)
        
        pause(0.001)
        % erase H
        A(20:80,h1,1) = 50; A(20:80,h1,2) = 50; A(20:80,h1,3) = 50;
        A(50,h1:h2,1) = 50; A(50,h1:h2,2) = 50; A(50,h1:h2,3) = 50;
        A(20:80,h2,1) = 50; A(20:80,h2,2) = 50; A(20:80,h2,3) = 50;
        % erase E
        A(50:80,e1,1) = 50; A(50:80,e1,2) = 50; A(50:80,e1,3) = 50;
        A(50,e1:e2,1) = 50; A(50,e1:e2,2) = 50; A(50,e1:e2,3) = 50;
        A(80,e1:e2,1) = 50; A(80,e1:e2,2) = 50; A(80,e1:e2,3) = 50;
        A(65,e1:e2,1) = 50; A(65,e1:e2,2) = 50; A(65,e1:e2,3) = 50;
        % erase L
        A(50:80,L1,1) = 50; A(50:80,L1,2) = 50; A(50:80,L1,3) = 50;
        A(80,L1:L2,1) = 50; A(80,L1:L2,2) = 50; A(80,L1:L2,3) = 50;
        % erase L
        A(50:80,L3,1) = 50; A(50:80,L3,2) = 50; A(50:80,L3,3) = 50;
        A(80,L3:L4,1) = 50; A(80,L3:L4,2) = 50; A(80,L3:L4,3) = 50;
        % erase O
        A(50:80,O1,1) = 50; A(50:80,O1,2) = 50; A(50:80,O1,3) = 50;
        A(80,O1:O2,1) = 50; A(80,O1:O2,2) = 50; A(80,O1:O2,3) = 50;
        A(50:80,O2,1) = 50; A(50:80,O2,2) = 50; A(50:80,O2,3) = 50;
        A(50,O1:O2,1) = 50; A(50,O1:O2,2) = 50; A(50,O1:O2,3) = 50;
        % erase !
        A(20:77,k1,1) = 50; A(20:77,k1,2) = 50; A(20:77,k1,3) = 50;
        A(79:80,k1,1) = 50; A(79:80,k1,2) = 50; A(79:80,k1,3) = 50;
        % erase :)
        A(30:70,j1,1) = 50; A(30:70,j1,2) = 50; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 50; A(70,j1:j6,2) = 50; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 50; A(30:70,j6,2) = 50; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 50; A(30,j1:j6,2) = 50; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 50; A(40:45,j3,2) = 50; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 50; A(40:45,j4,2) = 50; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 50; A(60:65,j2,2) = 50; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 50; A(60:65,j5,2) = 50; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 50; A(65,j2:j5,2) = 50; A(65,j2:j5,3) = 50;
        T = T-1;
        t = t-4;
    elseif (h1<2) && (e1<2) && (L1>2) && (L3>2) && (O1>2) && (k1>2) && (j1>2)
        h1 = maxX - 12 + T; h2 = maxX - 7 + T;
        e1 = maxX - 5 + T; e2 = maxX + T;
        A(20:80,h1,1) = 0; A(20:80,h1,2) = 255; A(20:80,h1,3) = 0;
        A(50,h1:h2,1) = 0; A(50,h1:h2,2) = 255; A(50,h1:h2,3) = 0;
        A(20:80,h2,1) = 0; A(20:80,h2,2) = 255; A(20:80,h2,3) = 0;
        % E
        A(50:80,e1,1) = 255; A(50:80,e1,2) = 0; A(50:80,e1,3) = 0;
        A(50,e1:e2,1) = 255; A(50,e1:e2,2) = 0; A(50,e1:e2,3) = 0;
        A(80,e1:e2,1) = 255; A(80,e1:e2,2) = 0; A(80,e1:e2,3) = 0;
        A(65,e1:e2,1) = 255; A(65,e1:e2,2) = 0; A(65,e1:e2,3) = 0;
        % L
        A(50:80,L1,1) = 0; A(50:80,L1,2) = 0; A(50:80,L1,3) = 255;
        A(80,L1:L2,1) = 0; A(80,L1:L2,2) = 0; A(80,L1:L2,3) = 255;
        % L
        A(50:80,L3,1) = 200; A(50:80,L3,2) = 0; A(50:80,L3,3) = 255;
        A(80,L3:L4,1) = 200; A(80,L3:L4,2) = 0; A(80,L3:L4,3) = 255;
        % O
        A(50:80,O1,1) = 0; A(50:80,O1,2) = 200; A(50:80,O1,3) = 255;
        A(80,O1:O2,1) = 0; A(80,O1:O2,2) = 200; A(80,O1:O2,3) = 255;
        A(50:80,O2,1) = 0; A(50:80,O2,2) = 200; A(50:80,O2,3) = 255;
        A(50,O1:O2,1) = 0; A(50,O1:O2,2) = 200; A(50,O1:O2,3) = 255;
        % !
        A(20:77,k1,1) = 200; A(20:77,k1,2) = 255; A(20:77,k1,3) = 100;
        A(79:80,k1,1) = 200; A(79:80,k1,2) = 255; A(79:80,k1,3) = 100;
        % :)
        A(30:70,j1,1) = 200; A(30:70,j1,2) = 200; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 200; A(70,j1:j6,2) = 200; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 200; A(30:70,j6,2) = 200; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 200; A(30,j1:j6,2) = 200; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 200; A(40:45,j3,2) = 200; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 200; A(40:45,j4,2) = 200; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 200; A(60:65,j2,2) = 200; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 200; A(60:65,j5,2) = 200; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 200; A(65,j2:j5,2) = 200; A(65,j2:j5,3) = 50;
        imagesc(A)
        pause(0.001)
        % erase H
        A(20:80,h1,1) = 50; A(20:80,h1,2) = 50; A(20:80,h1,3) = 50;
        A(50,h1:h2,1) = 50; A(50,h1:h2,2) = 50; A(50,h1:h2,3) = 50;
        A(20:80,h2,1) = 50; A(20:80,h2,2) = 50; A(20:80,h2,3) = 50;
        % erase E
        A(50:80,e1,1) = 50; A(50:80,e1,2) = 50; A(50:80,e1,3) = 50;
        A(50,e1:e2,1) = 50; A(50,e1:e2,2) = 50; A(50,e1:e2,3) = 50;
        A(80,e1:e2,1) = 50; A(80,e1:e2,2) = 50; A(80,e1:e2,3) = 50;
        A(65,e1:e2,1) = 50; A(65,e1:e2,2) = 50; A(65,e1:e2,3) = 50;
        % erase L
        A(50:80,L1,1) = 50; A(50:80,L1,2) = 50; A(50:80,L1,3) = 50;
        A(80,L1:L2,1) = 50; A(80,L1:L2,2) = 50; A(80,L1:L2,3) = 50;
        % erase L
        A(50:80,L3,1) = 50; A(50:80,L3,2) = 50; A(50:80,L3,3) = 50;
        A(80,L3:L4,1) = 50; A(80,L3:L4,2) = 50; A(80,L3:L4,3) = 50;
        % erase O
        A(50:80,O1,1) = 50; A(50:80,O1,2) = 50; A(50:80,O1,3) = 50;
        A(80,O1:O2,1) = 50; A(80,O1:O2,2) = 50; A(80,O1:O2,3) = 50;
        A(50:80,O2,1) = 50; A(50:80,O2,2) = 50; A(50:80,O2,3) = 50;
        A(50,O1:O2,1) = 50; A(50,O1:O2,2) = 50; A(50,O1:O2,3) = 50;
        % erase !
        A(20:77,k1,1) = 50; A(20:77,k1,2) = 50; A(20:77,k1,3) = 50;
        A(79:80,k1,1) = 50; A(79:80,k1,2) = 50; A(79:80,k1,3) = 50;
        % erase :)
        A(30:70,j1,1) = 50; A(30:70,j1,2) = 50; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 50; A(70,j1:j6,2) = 50; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 50; A(30:70,j6,2) = 50; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 50; A(30,j1:j6,2) = 50; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 50; A(40:45,j3,2) = 50; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 50; A(40:45,j4,2) = 50; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 50; A(60:65,j2,2) = 50; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 50; A(60:65,j5,2) = 50; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 50; A(65,j2:j5,2) = 50; A(65,j2:j5,3) = 50;
        T = T-1;
        t = t-4;
    elseif (h1<2) && (e1<2) && (L1<2) && (L3>2) && (O1>2) && (k1>2) && (j1>2)
        h1 = maxX - 19 + T; h2 = maxX - 14 + T;
        e1 = maxX - 12 + T; e2 = maxX -7 + T;
        L1 = maxX-5+T; L2 = maxX+T;
        A(20:80,h1,1) = 0; A(20:80,h1,2) = 255; A(20:80,h1,3) = 0;
        A(50,h1:h2,1) = 0; A(50,h1:h2,2) = 255; A(50,h1:h2,3) = 0;
        A(20:80,h2,1) = 0; A(20:80,h2,2) = 255; A(20:80,h2,3) = 0;
        % E
        A(50:80,e1,1) = 255; A(50:80,e1,2) = 0; A(50:80,e1,3) = 0;
        A(50,e1:e2,1) = 255; A(50,e1:e2,2) = 0; A(50,e1:e2,3) = 0;
        A(80,e1:e2,1) = 255; A(80,e1:e2,2) = 0; A(80,e1:e2,3) = 0;
        A(65,e1:e2,1) = 255; A(65,e1:e2,2) = 0; A(65,e1:e2,3) = 0;
        % L
        A(50:80,L1,1) = 0; A(50:80,L1,2) = 0; A(50:80,L1,3) = 255;
        A(80,L1:L2,1) = 0; A(80,L1:L2,2) = 0; A(80,L1:L2,3) = 255;
        % L
        A(50:80,L3,1) = 200; A(50:80,L3,2) = 0; A(50:80,L3,3) = 255;
        A(80,L3:L4,1) = 200; A(80,L3:L4,2) = 0; A(80,L3:L4,3) = 255;
        % O
        A(50:80,O1,1) = 0; A(50:80,O1,2) = 200; A(50:80,O1,3) = 255;
        A(80,O1:O2,1) = 0; A(80,O1:O2,2) = 200; A(80,O1:O2,3) = 255;
        A(50:80,O2,1) = 0; A(50:80,O2,2) = 200; A(50:80,O2,3) = 255;
        A(50,O1:O2,1) = 0; A(50,O1:O2,2) = 200; A(50,O1:O2,3) = 255;
        % !
        A(20:77,k1,1) = 200; A(20:77,k1,2) = 255; A(20:77,k1,3) = 100;
        A(79:80,k1,1) = 200; A(79:80,k1,2) = 255; A(79:80,k1,3) = 100;
        % :)
        A(30:70,j1,1) = 200; A(30:70,j1,2) = 200; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 200; A(70,j1:j6,2) = 200; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 200; A(30:70,j6,2) = 200; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 200; A(30,j1:j6,2) = 200; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 200; A(40:45,j3,2) = 200; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 200; A(40:45,j4,2) = 200; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 200; A(60:65,j2,2) = 200; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 200; A(60:65,j5,2) = 200; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 200; A(65,j2:j5,2) = 200; A(65,j2:j5,3) = 50;
        imagesc(A)
        pause(0.001)
        % erase H
        A(20:80,h1,1) = 50; A(20:80,h1,2) = 50; A(20:80,h1,3) = 50;
        A(50,h1:h2,1) = 50; A(50,h1:h2,2) = 50; A(50,h1:h2,3) = 50;
        A(20:80,h2,1) = 50; A(20:80,h2,2) = 50; A(20:80,h2,3) = 50;
        % erase E
        A(50:80,e1,1) = 50; A(50:80,e1,2) = 50; A(50:80,e1,3) = 50;
        A(50,e1:e2,1) = 50; A(50,e1:e2,2) = 50; A(50,e1:e2,3) = 50;
        A(80,e1:e2,1) = 50; A(80,e1:e2,2) = 50; A(80,e1:e2,3) = 50;
        A(65,e1:e2,1) = 50; A(65,e1:e2,2) = 50; A(65,e1:e2,3) = 50;
        % erase L
        A(50:80,L1,1) = 50; A(50:80,L1,2) = 50; A(50:80,L1,3) = 50;
        A(80,L1:L2,1) = 50; A(80,L1:L2,2) = 50; A(80,L1:L2,3) = 50;
        % erase L
        A(50:80,L3,1) = 50; A(50:80,L3,2) = 50; A(50:80,L3,3) = 50;
        A(80,L3:L4,1) = 50; A(80,L3:L4,2) = 50; A(80,L3:L4,3) = 50;
        % erase O
        A(50:80,O1,1) = 50; A(50:80,O1,2) = 50; A(50:80,O1,3) = 50;
        A(80,O1:O2,1) = 50; A(80,O1:O2,2) = 50; A(80,O1:O2,3) = 50;
        A(50:80,O2,1) = 50; A(50:80,O2,2) = 50; A(50:80,O2,3) = 50;
        A(50,O1:O2,1) = 50; A(50,O1:O2,2) = 50; A(50,O1:O2,3) = 50;
        % erase !
        A(20:77,k1,1) = 50; A(20:77,k1,2) = 50; A(20:77,k1,3) = 50;
        A(79:80,k1,1) = 50; A(79:80,k1,2) = 50; A(79:80,k1,3) = 50;
        % erase :)
        A(30:70,j1,1) = 50; A(30:70,j1,2) = 50; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 50; A(70,j1:j6,2) = 50; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 50; A(30:70,j6,2) = 50; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 50; A(30,j1:j6,2) = 50; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 50; A(40:45,j3,2) = 50; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 50; A(40:45,j4,2) = 50; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 50; A(60:65,j2,2) = 50; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 50; A(60:65,j5,2) = 50; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 50; A(65,j2:j5,2) = 50; A(65,j2:j5,3) = 50;
        T = T-1;
        t = t-3;
    elseif (h1<2) && (e1<2) && (L1<2) && (L3<2) && (O1>2) && (k1>2) && (j1>2)
        h1 = maxX - 26 + T; h2 = maxX - 21 + T;
        e1 = maxX - 19 + T; e2 = maxX -14 + T;
        L1 = maxX-12+T; L2 = maxX-7+T;
        L3 = maxX-5+T; L4 = maxX+T;
        A(20:80,h1,1) = 0; A(20:80,h1,2) = 255; A(20:80,h1,3) = 0;
        A(50,h1:h2,1) = 0; A(50,h1:h2,2) = 255; A(50,h1:h2,3) = 0;
        A(20:80,h2,1) = 0; A(20:80,h2,2) = 255; A(20:80,h2,3) = 0;
        % E
        A(50:80,e1,1) = 255; A(50:80,e1,2) = 0; A(50:80,e1,3) = 0;
        A(50,e1:e2,1) = 255; A(50,e1:e2,2) = 0; A(50,e1:e2,3) = 0;
        A(80,e1:e2,1) = 255; A(80,e1:e2,2) = 0; A(80,e1:e2,3) = 0;
        A(65,e1:e2,1) = 255; A(65,e1:e2,2) = 0; A(65,e1:e2,3) = 0;
        % L
        A(50:80,L1,1) = 0; A(50:80,L1,2) = 0; A(50:80,L1,3) = 255;
        A(80,L1:L2,1) = 0; A(80,L1:L2,2) = 0; A(80,L1:L2,3) = 255;
        % L
        A(50:80,L3,1) = 200; A(50:80,L3,2) = 0; A(50:80,L3,3) = 255;
        A(80,L3:L4,1) = 200; A(80,L3:L4,2) = 0; A(80,L3:L4,3) = 255;
        % O
        A(50:80,O1,1) = 0; A(50:80,O1,2) = 200; A(50:80,O1,3) = 255;
        A(80,O1:O2,1) = 0; A(80,O1:O2,2) = 200; A(80,O1:O2,3) = 255;
        A(50:80,O2,1) = 0; A(50:80,O2,2) = 200; A(50:80,O2,3) = 255;
        A(50,O1:O2,1) = 0; A(50,O1:O2,2) = 200; A(50,O1:O2,3) = 255;
        % !
        A(20:77,k1,1) = 200; A(20:77,k1,2) = 255; A(20:77,k1,3) = 100;
        A(79:80,k1,1) = 200; A(79:80,k1,2) = 255; A(79:80,k1,3) = 100;
        % :)
        A(30:70,j1,1) = 200; A(30:70,j1,2) = 200; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 200; A(70,j1:j6,2) = 200; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 200; A(30:70,j6,2) = 200; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 200; A(30,j1:j6,2) = 200; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 200; A(40:45,j3,2) = 200; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 200; A(40:45,j4,2) = 200; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 200; A(60:65,j2,2) = 200; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 200; A(60:65,j5,2) = 200; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 200; A(65,j2:j5,2) = 200; A(65,j2:j5,3) = 50;
        imagesc(A)
        pause(0.001)
        % erase H
        A(20:80,h1,1) = 50; A(20:80,h1,2) = 50; A(20:80,h1,3) = 50;
        A(50,h1:h2,1) = 50; A(50,h1:h2,2) = 50; A(50,h1:h2,3) = 50;
        A(20:80,h2,1) = 50; A(20:80,h2,2) = 50; A(20:80,h2,3) = 50;
        % erase E
        A(50:80,e1,1) = 50; A(50:80,e1,2) = 50; A(50:80,e1,3) = 50;
        A(50,e1:e2,1) = 50; A(50,e1:e2,2) = 50; A(50,e1:e2,3) = 50;
        A(80,e1:e2,1) = 50; A(80,e1:e2,2) = 50; A(80,e1:e2,3) = 50;
        A(65,e1:e2,1) = 50; A(65,e1:e2,2) = 50; A(65,e1:e2,3) = 50;
        % erase L
        A(50:80,L1,1) = 50; A(50:80,L1,2) = 50; A(50:80,L1,3) = 50;
        A(80,L1:L2,1) = 50; A(80,L1:L2,2) = 50; A(80,L1:L2,3) = 50;
        % erase L
        A(50:80,L3,1) = 50; A(50:80,L3,2) = 50; A(50:80,L3,3) = 50;
        A(80,L3:L4,1) = 50; A(80,L3:L4,2) = 50; A(80,L3:L4,3) = 50;
        % erase O
        A(50:80,O1,1) = 50; A(50:80,O1,2) = 50; A(50:80,O1,3) = 50;
        A(80,O1:O2,1) = 50; A(80,O1:O2,2) = 50; A(80,O1:O2,3) = 50;
        A(50:80,O2,1) = 50; A(50:80,O2,2) = 50; A(50:80,O2,3) = 50;
        A(50,O1:O2,1) = 50; A(50,O1:O2,2) = 50; A(50,O1:O2,3) = 50;
        % erase !
        A(20:77,k1,1) = 50; A(20:77,k1,2) = 50; A(20:77,k1,3) = 50;
        A(79:80,k1,1) = 50; A(79:80,k1,2) = 50; A(79:80,k1,3) = 50;
        % erase :)
        A(30:70,j1,1) = 50; A(30:70,j1,2) = 50; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 50; A(70,j1:j6,2) = 50; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 50; A(30:70,j6,2) = 50; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 50; A(30,j1:j6,2) = 50; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 50; A(40:45,j3,2) = 50; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 50; A(40:45,j4,2) = 50; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 50; A(60:65,j2,2) = 50; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 50; A(60:65,j5,2) = 50; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 50; A(65,j2:j5,2) = 50; A(65,j2:j5,3) = 50;
        T = T-1;
        t = t-4;
    elseif (h1<2) && (e1<2) && (L1<2) && (L3<2) && (O1<2) && (k1>2) && (j1>2)
        h1 = maxX-33+T; h2 = maxX-28+T;
        e1 = maxX-26+T; e2 = maxX-21+T;
        L1 = maxX-19+T; L2 = maxX-14+T;
        L3 = maxX-12+T; L4 = maxX-7+T;
        O1 = maxX-5+T; O2 = maxX+T;
        A(20:80,h1,1) = 0; A(20:80,h1,2) = 255; A(20:80,h1,3) = 0;
        A(50,h1:h2,1) = 0; A(50,h1:h2,2) = 255; A(50,h1:h2,3) = 0;
        A(20:80,h2,1) = 0; A(20:80,h2,2) = 255; A(20:80,h2,3) = 0;
        % E
        A(50:80,e1,1) = 255; A(50:80,e1,2) = 0; A(50:80,e1,3) = 0;
        A(50,e1:e2,1) = 255; A(50,e1:e2,2) = 0; A(50,e1:e2,3) = 0;
        A(80,e1:e2,1) = 255; A(80,e1:e2,2) = 0; A(80,e1:e2,3) = 0;
        A(65,e1:e2,1) = 255; A(65,e1:e2,2) = 0; A(65,e1:e2,3) = 0;
        % L
        A(50:80,L1,1) = 0; A(50:80,L1,2) = 0; A(50:80,L1,3) = 255;
        A(80,L1:L2,1) = 0; A(80,L1:L2,2) = 0; A(80,L1:L2,3) = 255;
        % L
        A(50:80,L3,1) = 200; A(50:80,L3,2) = 0; A(50:80,L3,3) = 255;
        A(80,L3:L4,1) = 200; A(80,L3:L4,2) = 0; A(80,L3:L4,3) = 255;
        % O
        A(50:80,O1,1) = 0; A(50:80,O1,2) = 200; A(50:80,O1,3) = 255;
        A(80,O1:O2,1) = 0; A(80,O1:O2,2) = 200; A(80,O1:O2,3) = 255;
        A(50:80,O2,1) = 0; A(50:80,O2,2) = 200; A(50:80,O2,3) = 255;
        A(50,O1:O2,1) = 0; A(50,O1:O2,2) = 200; A(50,O1:O2,3) = 255;
        % !
        A(20:77,k1,1) = 200; A(20:77,k1,2) = 255; A(20:77,k1,3) = 100;
        A(79:80,k1,1) = 200; A(79:80,k1,2) = 255; A(79:80,k1,3) = 100;
        % :)
        A(30:70,j1,1) = 200; A(30:70,j1,2) = 200; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 200; A(70,j1:j6,2) = 200; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 200; A(30:70,j6,2) = 200; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 200; A(30,j1:j6,2) = 200; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 200; A(40:45,j3,2) = 200; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 200; A(40:45,j4,2) = 200; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 200; A(60:65,j2,2) = 200; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 200; A(60:65,j5,2) = 200; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 200; A(65,j2:j5,2) = 200; A(65,j2:j5,3) = 50;
        imagesc(A)
        pause(0.001)
        % erase H
        A(20:80,h1,1) = 50; A(20:80,h1,2) = 50; A(20:80,h1,3) = 50;
        A(50,h1:h2,1) = 50; A(50,h1:h2,2) = 50; A(50,h1:h2,3) = 50;
        A(20:80,h2,1) = 50; A(20:80,h2,2) = 50; A(20:80,h2,3) = 50;
        % erase E
        A(50:80,e1,1) = 50; A(50:80,e1,2) = 50; A(50:80,e1,3) = 50;
        A(50,e1:e2,1) = 50; A(50,e1:e2,2) = 50; A(50,e1:e2,3) = 50;
        A(80,e1:e2,1) = 50; A(80,e1:e2,2) = 50; A(80,e1:e2,3) = 50;
        A(65,e1:e2,1) = 50; A(65,e1:e2,2) = 50; A(65,e1:e2,3) = 50;
        % erase L
        A(50:80,L1,1) = 50; A(50:80,L1,2) = 50; A(50:80,L1,3) = 50;
        A(80,L1:L2,1) = 50; A(80,L1:L2,2) = 50; A(80,L1:L2,3) = 50;
        % erase L
        A(50:80,L3,1) = 50; A(50:80,L3,2) = 50; A(50:80,L3,3) = 50;
        A(80,L3:L4,1) = 50; A(80,L3:L4,2) = 50; A(80,L3:L4,3) = 50;
        % erase O
        A(50:80,O1,1) = 50; A(50:80,O1,2) = 50; A(50:80,O1,3) = 50;
        A(80,O1:O2,1) = 50; A(80,O1:O2,2) = 50; A(80,O1:O2,3) = 50;
        A(50:80,O2,1) = 50; A(50:80,O2,2) = 50; A(50:80,O2,3) = 50;
        A(50,O1:O2,1) = 50; A(50,O1:O2,2) = 50; A(50,O1:O2,3) = 50;
        % erase !
        A(20:77,k1,1) = 50; A(20:77,k1,2) = 50; A(20:77,k1,3) = 50;
        A(79:80,k1,1) = 50; A(79:80,k1,2) = 50; A(79:80,k1,3) = 50;
        % erase :)
        A(30:70,j1,1) = 50; A(30:70,j1,2) = 50; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 50; A(70,j1:j6,2) = 50; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 50; A(30:70,j6,2) = 50; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 50; A(30,j1:j6,2) = 50; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 50; A(40:45,j3,2) = 50; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 50; A(40:45,j4,2) = 50; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 50; A(60:65,j2,2) = 50; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 50; A(60:65,j5,2) = 50; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 50; A(65,j2:j5,2) = 50; A(65,j2:j5,3) = 50;
        T = T-1;
        t = t-4;
    elseif (h1<2) && (e1<2) && (L1<2) && (L3<2) && (O1<2) && (k1<2) && (j1>2)
        h1 = maxX-35+T; h2 = maxX-30+T;
        e1 = maxX-28+T; e2 = maxX-23+T;
        L1 = maxX-21+T; L2 = maxX-16+T;
        L3 = maxX-14+T; L4 = maxX-9+T;
        O1 = maxX-7+T; O2 = maxX-2+T;
        k1 = maxX+T;
        A(20:80,h1,1) = 0; A(20:80,h1,2) = 255; A(20:80,h1,3) = 0;
        A(50,h1:h2,1) = 0; A(50,h1:h2,2) = 255; A(50,h1:h2,3) = 0;
        A(20:80,h2,1) = 0; A(20:80,h2,2) = 255; A(20:80,h2,3) = 0;
        % E
        A(50:80,e1,1) = 255; A(50:80,e1,2) = 0; A(50:80,e1,3) = 0;
        A(50,e1:e2,1) = 255; A(50,e1:e2,2) = 0; A(50,e1:e2,3) = 0;
        A(80,e1:e2,1) = 255; A(80,e1:e2,2) = 0; A(80,e1:e2,3) = 0;
        A(65,e1:e2,1) = 255; A(65,e1:e2,2) = 0; A(65,e1:e2,3) = 0;
        % L
        A(50:80,L1,1) = 0; A(50:80,L1,2) = 0; A(50:80,L1,3) = 255;
        A(80,L1:L2,1) = 0; A(80,L1:L2,2) = 0; A(80,L1:L2,3) = 255;
        % L
        A(50:80,L3,1) = 200; A(50:80,L3,2) = 0; A(50:80,L3,3) = 255;
        A(80,L3:L4,1) = 200; A(80,L3:L4,2) = 0; A(80,L3:L4,3) = 255;
        % O
        A(50:80,O1,1) = 0; A(50:80,O1,2) = 200; A(50:80,O1,3) = 255;
        A(80,O1:O2,1) = 0; A(80,O1:O2,2) = 200; A(80,O1:O2,3) = 255;
        A(50:80,O2,1) = 0; A(50:80,O2,2) = 200; A(50:80,O2,3) = 255;
        A(50,O1:O2,1) = 0; A(50,O1:O2,2) = 200; A(50,O1:O2,3) = 255;
        % !
        A(20:77,k1,1) = 200; A(20:77,k1,2) = 255; A(20:77,k1,3) = 100;
        A(79:80,k1,1) = 200; A(79:80,k1,2) = 255; A(79:80,k1,3) = 100;
        % :)
        A(30:70,j1,1) = 200; A(30:70,j1,2) = 200; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 200; A(70,j1:j6,2) = 200; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 200; A(30:70,j6,2) = 200; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 200; A(30,j1:j6,2) = 200; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 200; A(40:45,j3,2) = 200; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 200; A(40:45,j4,2) = 200; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 200; A(60:65,j2,2) = 200; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 200; A(60:65,j5,2) = 200; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 200; A(65,j2:j5,2) = 200; A(65,j2:j5,3) = 50;
        imagesc(A)
        pause(0.001)
        % erase H
        A(20:80,h1,1) = 50; A(20:80,h1,2) = 50; A(20:80,h1,3) = 50;
        A(50,h1:h2,1) = 50; A(50,h1:h2,2) = 50; A(50,h1:h2,3) = 50;
        A(20:80,h2,1) = 50; A(20:80,h2,2) = 50; A(20:80,h2,3) = 50;
        % erase E
        A(50:80,e1,1) = 50; A(50:80,e1,2) = 50; A(50:80,e1,3) = 50;
        A(50,e1:e2,1) = 50; A(50,e1:e2,2) = 50; A(50,e1:e2,3) = 50;
        A(80,e1:e2,1) = 50; A(80,e1:e2,2) = 50; A(80,e1:e2,3) = 50;
        A(65,e1:e2,1) = 50; A(65,e1:e2,2) = 50; A(65,e1:e2,3) = 50;
        % erase L
        A(50:80,L1,1) = 50; A(50:80,L1,2) = 50; A(50:80,L1,3) = 50;
        A(80,L1:L2,1) = 50; A(80,L1:L2,2) = 50; A(80,L1:L2,3) = 50;
        % erase L
        A(50:80,L3,1) = 50; A(50:80,L3,2) = 50; A(50:80,L3,3) = 50;
        A(80,L3:L4,1) = 50; A(80,L3:L4,2) = 50; A(80,L3:L4,3) = 50;
        % erase O
        A(50:80,O1,1) = 50; A(50:80,O1,2) = 50; A(50:80,O1,3) = 50;
        A(80,O1:O2,1) = 50; A(80,O1:O2,2) = 50; A(80,O1:O2,3) = 50;
        A(50:80,O2,1) = 50; A(50:80,O2,2) = 50; A(50:80,O2,3) = 50;
        A(50,O1:O2,1) = 50; A(50,O1:O2,2) = 50; A(50,O1:O2,3) = 50;
        % erase !
        A(20:77,k1,1) = 50; A(20:77,k1,2) = 50; A(20:77,k1,3) = 50;
        A(79:80,k1,1) = 50; A(79:80,k1,2) = 50; A(79:80,k1,3) = 50;
        % erase :)
        A(30:70,j1,1) = 50; A(30:70,j1,2) = 50; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 50; A(70,j1:j6,2) = 50; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 50; A(30:70,j6,2) = 50; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 50; A(30,j1:j6,2) = 50; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 50; A(40:45,j3,2) = 50; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 50; A(40:45,j4,2) = 50; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 50; A(60:65,j2,2) = 50; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 50; A(60:65,j5,2) = 50; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 50; A(65,j2:j5,2) = 50; A(65,j2:j5,3) = 50;
        T = T-1;
        t = t-4;
    elseif (h1<2) && (e1<2) && (L1<2) && (L3<2) && (O1<2) && (k1<2) && (j1<2)
        h1 = maxX-52+T; h2 = maxX-47+T;
        e1 = maxX-45+T; e2 = maxX-40+T;
        L1 = maxX-38+T; L2 = maxX-33+T;
        L3 = maxX-31+T; L4 = maxX-26+T;
        O1 = maxX-24+T; O2 = maxX-19+T;
        k1 = maxX-17+T;
        j1 = maxX-15+T; j6 = maxX+T; j2 = maxX-12+T; j4 = maxX-5+T; 
        j3 = maxX-10+T; j5 = maxX-3+T;
        A(20:80,h1,1) = 0; A(20:80,h1,2) = 255; A(20:80,h1,3) = 0;
        A(50,h1:h2,1) = 0; A(50,h1:h2,2) = 255; A(50,h1:h2,3) = 0;
        A(20:80,h2,1) = 0; A(20:80,h2,2) = 255; A(20:80,h2,3) = 0;
        % E
        A(50:80,e1,1) = 255; A(50:80,e1,2) = 0; A(50:80,e1,3) = 0;
        A(50,e1:e2,1) = 255; A(50,e1:e2,2) = 0; A(50,e1:e2,3) = 0;
        A(80,e1:e2,1) = 255; A(80,e1:e2,2) = 0; A(80,e1:e2,3) = 0;
        A(65,e1:e2,1) = 255; A(65,e1:e2,2) = 0; A(65,e1:e2,3) = 0;
        % L
        A(50:80,L1,1) = 0; A(50:80,L1,2) = 0; A(50:80,L1,3) = 255;
        A(80,L1:L2,1) = 0; A(80,L1:L2,2) = 0; A(80,L1:L2,3) = 255;
        % L
        A(50:80,L3,1) = 200; A(50:80,L3,2) = 0; A(50:80,L3,3) = 255;
        A(80,L3:L4,1) = 200; A(80,L3:L4,2) = 0; A(80,L3:L4,3) = 255;
        % O
        A(50:80,O1,1) = 0; A(50:80,O1,2) = 200; A(50:80,O1,3) = 255;
        A(80,O1:O2,1) = 0; A(80,O1:O2,2) = 200; A(80,O1:O2,3) = 255;
        A(50:80,O2,1) = 0; A(50:80,O2,2) = 200; A(50:80,O2,3) = 255;
        A(50,O1:O2,1) = 0; A(50,O1:O2,2) = 200; A(50,O1:O2,3) = 255;
        % !
        A(20:77,k1,1) = 200; A(20:77,k1,2) = 255; A(20:77,k1,3) = 100;
        A(79:80,k1,1) = 200; A(79:80,k1,2) = 255; A(79:80,k1,3) = 100;
        % :)
        A(30:70,j1,1) = 200; A(30:70,j1,2) = 200; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 200; A(70,j1:j6,2) = 200; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 200; A(30:70,j6,2) = 200; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 200; A(30,j1:j6,2) = 200; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 200; A(40:45,j3,2) = 200; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 200; A(40:45,j4,2) = 200; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 200; A(60:65,j2,2) = 200; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 200; A(60:65,j5,2) = 200; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 200; A(65,j2:j5,2) = 200; A(65,j2:j5,3) = 50;
        imagesc(A)
        pause(0.001)
        % erase H
        A(20:80,h1,1) = 50; A(20:80,h1,2) = 50; A(20:80,h1,3) = 50;
        A(50,h1:h2,1) = 50; A(50,h1:h2,2) = 50; A(50,h1:h2,3) = 50;
        A(20:80,h2,1) = 50; A(20:80,h2,2) = 50; A(20:80,h2,3) = 50;
        % erase E
        A(50:80,e1,1) = 50; A(50:80,e1,2) = 50; A(50:80,e1,3) = 50;
        A(50,e1:e2,1) = 50; A(50,e1:e2,2) = 50; A(50,e1:e2,3) = 50;
        A(80,e1:e2,1) = 50; A(80,e1:e2,2) = 50; A(80,e1:e2,3) = 50;
        A(65,e1:e2,1) = 50; A(65,e1:e2,2) = 50; A(65,e1:e2,3) = 50;
        % erase L
        A(50:80,L1,1) = 50; A(50:80,L1,2) = 50; A(50:80,L1,3) = 50;
        A(80,L1:L2,1) = 50; A(80,L1:L2,2) = 50; A(80,L1:L2,3) = 50;
        % erase L
        A(50:80,L3,1) = 50; A(50:80,L3,2) = 50; A(50:80,L3,3) = 50;
        A(80,L3:L4,1) = 50; A(80,L3:L4,2) = 50; A(80,L3:L4,3) = 50;
        % erase O
        A(50:80,O1,1) = 50; A(50:80,O1,2) = 50; A(50:80,O1,3) = 50;
        A(80,O1:O2,1) = 50; A(80,O1:O2,2) = 50; A(80,O1:O2,3) = 50;
        A(50:80,O2,1) = 50; A(50:80,O2,2) = 50; A(50:80,O2,3) = 50;
        A(50,O1:O2,1) = 50; A(50,O1:O2,2) = 50; A(50,O1:O2,3) = 50;
        % erase !
        A(20:77,k1,1) = 50; A(20:77,k1,2) = 50; A(20:77,k1,3) = 50;
        A(79:80,k1,1) = 50; A(79:80,k1,2) = 50; A(79:80,k1,3) = 50;
        % erase :)
        A(30:70,j1,1) = 50; A(30:70,j1,2) = 50; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 50; A(70,j1:j6,2) = 50; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 50; A(30:70,j6,2) = 50; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 50; A(30,j1:j6,2) = 50; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 50; A(40:45,j3,2) = 50; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 50; A(40:45,j4,2) = 50; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 50; A(60:65,j2,2) = 50; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 50; A(60:65,j5,2) = 50; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 50; A(65,j2:j5,2) = 50; A(65,j2:j5,3) = 50;
        T = T-1;
        t = t-4;
    else
        hold on
        % H
        A(20:80,h1,1) = 0; A(20:80,h1,2) = 255; A(20:80,h1,3) = 0;
        A(50,h1:h2,1) = 0; A(50,h1:h2,2) = 255; A(50,h1:h2,3) = 0;
        A(20:80,h2,1) = 0; A(20:80,h2,2) = 255; A(20:80,h2,3) = 0;
        % E
        A(50:80,e1,1) = 255; A(50:80,e1,2) = 0; A(50:80,e1,3) = 0;
        A(50,e1:e2,1) = 255; A(50,e1:e2,2) = 0; A(50,e1:e2,3) = 0;
        A(80,e1:e2,1) = 255; A(80,e1:e2,2) = 0; A(80,e1:e2,3) = 0;
        A(65,e1:e2,1) = 255; A(65,e1:e2,2) = 0; A(65,e1:e2,3) = 0;
        % L
        A(50:80,L1,1) = 0; A(50:80,L1,2) = 0; A(50:80,L1,3) = 255;
        A(80,L1:L2,1) = 0; A(80,L1:L2,2) = 0; A(80,L1:L2,3) = 255;
        % L
        A(50:80,L3,1) = 200; A(50:80,L3,2) = 0; A(50:80,L3,3) = 255;
        A(80,L3:L4,1) = 200; A(80,L3:L4,2) = 0; A(80,L3:L4,3) = 255;
        % O
        A(50:80,O1,1) = 0; A(50:80,O1,2) = 200; A(50:80,O1,3) = 255;
        A(80,O1:O2,1) = 0; A(80,O1:O2,2) = 200; A(80,O1:O2,3) = 255;
        A(50:80,O2,1) = 0; A(50:80,O2,2) = 200; A(50:80,O2,3) = 255;
        A(50,O1:O2,1) = 0; A(50,O1:O2,2) = 200; A(50,O1:O2,3) = 255;
        % !
        A(20:77,k1,1) = 200; A(20:77,k1,2) = 255; A(20:77,k1,3) = 100;
        A(79:80,k1,1) = 200; A(79:80,k1,2) = 255; A(79:80,k1,3) = 100;
        % :)
        A(30:70,j1,1) = 200; A(30:70,j1,2) = 200; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 200; A(70,j1:j6,2) = 200; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 200; A(30:70,j6,2) = 200; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 200; A(30,j1:j6,2) = 200; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 200; A(40:45,j3,2) = 200; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 200; A(40:45,j4,2) = 200; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 200; A(60:65,j2,2) = 200; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 200; A(60:65,j5,2) = 200; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 200; A(65,j2:j5,2) = 200; A(65,j2:j5,3) = 50;
        imagesc(A)
        pause(0.001)
        % erase H
        A(20:80,h1,1) = 50; A(20:80,h1,2) = 50; A(20:80,h1,3) = 50;
        A(50,h1:h2,1) = 50; A(50,h1:h2,2) = 50; A(50,h1:h2,3) = 50;
        A(20:80,h2,1) = 50; A(20:80,h2,2) = 50; A(20:80,h2,3) = 50;
        % erase E
        A(50:80,e1,1) = 50; A(50:80,e1,2) = 50; A(50:80,e1,3) = 50;
        A(50,e1:e2,1) = 50; A(50,e1:e2,2) = 50; A(50,e1:e2,3) = 50;
        A(80,e1:e2,1) = 50; A(80,e1:e2,2) = 50; A(80,e1:e2,3) = 50; 
        A(65,e1:e2,1) = 50; A(65,e1:e2,2) = 50; A(65,e1:e2,3) = 50;
        % erase L
        A(50:80,L1,1) = 50; A(50:80,L1,2) = 50; A(50:80,L1,3) = 50;
        A(80,L1:L2,1) = 50; A(80,L1:L2,2) = 50; A(80,L1:L2,3) = 50;
        % erase L
        A(50:80,L3,1) = 50; A(50:80,L3,2) = 50; A(50:80,L3,3) = 50;
        A(80,L3:L4,1) = 50; A(80,L3:L4,2) = 50; A(80,L3:L4,3) = 50;
        % erase O
        A(50:80,O1,1) = 50; A(50:80,O1,2) = 50; A(50:80,O1,3) = 50;
        A(80,O1:O2,1) = 50; A(80,O1:O2,2) = 50; A(80,O1:O2,3) = 50;
        A(50:80,O2,1) = 50; A(50:80,O2,2) = 50; A(50:80,O2,3) = 50;
        A(50,O1:O2,1) = 50; A(50,O1:O2,2) = 50; A(50,O1:O2,3) = 50;
        % erase !
        A(20:77,k1,1) = 50; A(20:77,k1,2) = 50; A(20:77,k1,3) = 50;
        A(79:80,k1,1) = 50; A(79:80,k1,2) = 50; A(79:80,k1,3) = 50;
        % erase :)
        A(30:70,j1,1) = 50; A(30:70,j1,2) = 50; A(30:70,j1,3) = 50;
        A(70,j1:j6,1) = 50; A(70,j1:j6,2) = 50; A(70,j1:j6,3) = 50;
        A(30:70,j6,1) = 50; A(30:70,j6,2) = 50; A(30:70,j6,3) = 50;
        A(30,j1:j6,1) = 50; A(30,j1:j6,2) = 50; A(30,j1:j6,3) = 50;
        A(40:45,j3,1) = 50; A(40:45,j3,2) = 50; A(40:45,j3,3) = 50;
        A(40:45,j4,1) = 50; A(40:45,j4,2) = 50; A(40:45,j4,3) = 50;
        A(60:65,j2,1) = 50; A(60:65,j2,2) = 50; A(60:65,j2,3) = 50;
        A(60:65,j5,1) = 50; A(60:65,j5,2) = 50; A(60:65,j5,3) = 50;
        A(65,j2:j5,1) = 50; A(65,j2:j5,2) = 50; A(65,j2:j5,3) = 50;
        t = t-4;
    end
% t
% T
end
