diff --git a/befunge/colortest.befunge b/befunge/colortest.befunge index 2837297..5048376 100644 --- a/befunge/colortest.befunge +++ b/befunge/colortest.befunge @@ -1,34 +1,34 @@ -v > 88+10p v print the color cube - > v ->55+, v>52*:,,$ ">"7:8*3-\2*p ^ v*7+5601< < < - v:+88<^,,,< the above overwrite the cell > :v -v_39*,"m0["^ x=53,y=14 in the decimal print v*89 < ->:88+\- v cluster, causing it to return to > `! v^ :-1\< - # v ,*93< the color cube instead of the vg01 _ :10g+^v< - >";5;84[",,,v initial loop. + " ^,+55p+77*< - v*84,"m"0v ,[ >">"955++5^ - >:,,v v0< ,4 ^p+76*8+65"v"p< - ^ :-1< >85*1+:v ,8 >">"46*1-4*76+^ - ^ < v!`*94 <:< ,; ^ p01*4-1*48 < - print the first >68*+,v >v >v - ,5^ p01< - 16 colors / # \`>>:52*/86*+,v v_:10g+\1^ ,; >:85+4*\`| - ^*:*52:<*! v%*52 < ^>10g+005v v<" + 8>v $ v - # 5>| v"m "" "< v`\0:< >#, v>^ $ - > >:52*:*\`!|2 > >68*+, ^ >,,,v v$_:10v * 6 5*4 5 - v%*:*25<: 1 v+g< 9 g >^>*^ 5 - > ^ - >\1-^ v 3# ,,,,, < + - >^ > >:| # , - the above cluster prints a >$v 0 " - 3-digit decimal integer w/o v < 1 v - ^ +*< adding a trailing space v ,*39_39*," "" m0["^ " - >:46*\-856*1-^ ^ ,,,"m "" " # <9 - ^,,,,,"48;5;"< >"m0[",,,55+,^ 7 - |,"[",*93< ^ < * - @,,:+55,,"0m"< ^: < *64p01*8-1*53p+77< - finally, the 24 grays after the first color cube replace the cell - loop, set the following 4 124,y=0,x=1 west of the one - cell values to change the ">",y=14,x=95 changed after the - starting and ending values "v",y=13,x=88 1st 16 colors after - of the loop ">",y=13,x=92 the cube is done -#################################################################################################### -vi: ft= sw=1 ts=1 sts=1 et cc=5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 nowrap +v > 88+10p v print the color cube + > v +>55+, v>52*:,,$ ">"7:8*3-\2*p ^ v*7+5601< < < + v:+88<^,,,< the above overwrite the cell > :v +v_39*,"m0["^ x=53,y=14 in the decimal print v*89 < +>:88+\- v cluster, causing it to return to > `! v^ :-1\< + # v ,*93< the color cube instead of the vg01 _ :10g+^v< + >";5;84[",,,v initial loop. + " ^,+55p+77*< + v*84,"m"0v ,[ >">"955++5^ + >:,,v v0< ,4 ^p+76*8+65"v"p< + ^ :-1< >85*1+:v ,8 >">"46*1-4*76+^ + ^ < v!`*94 <:< ,; ^ p01*4-1*48 < + print the first >68*+,v >v >v - ,5^ p01< + 16 colors / # \`>>:52*/86*+,v v_:10g+\1^ ,; >:85+4*\`| + ^*:*52:<*! v%*52 < ^>10g+005v v<" + 8>v $ v + # 5>| v"m "" "< v`\0:< >#, v>^ + > >:52*:*\`!|2 > >68*+, ^ >,,,v v$_:10v * 6 5*4 + v%*:*25<: 1 v+g< 9 g >^>*^ + > ^ - >\1-^ v 3# ,,,,, < + >^ > >:| # + the above cluster prints a >$v 0 + 3-digit decimal integer w/o v < 1 + ^ +*< adding a trailing space v ,*39_39*," "" m0["^ + >:46*\-856*1-^ ^ ,,,"m "" " # < + ^,,,,,"48;5;"< >"m0[",,,55+,^ + |,"[",*93< ^ < + @,,:+55,,"0m"< ^: < *64p01*8-1*53p+77*79"v",+55$< + finally, the 24 grays after the first color cube replace the cell + loop, set the following 4 124,y=0,x=1 west of the one + cell values to change the ">",y=14,x=95 changed after the + starting and ending values "v",y=13,x=88 1st 16 colors after + of the loop ">",y=13,x=92 the cube is done +################################################################################################### +vi: ft= sw=1 ts=1 sts=1 et cc=5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95 nowrap