Skip to content

Commit

Permalink
Fit colortest.befunge into 80x25 cells
Browse files Browse the repository at this point in the history
  • Loading branch information
eliminmax committed May 7, 2024
1 parent 84b3c2a commit 432029b
Showing 1 changed file with 18 additions and 27 deletions.
45 changes: 18 additions & 27 deletions befunge/colortest.befunge
Original file line number Diff line number Diff line change
@@ -1,34 +1,25 @@
v >">"67*5p 88+10p v print the color cube
$ reroute colorcell exit > v
>55+, v>52*:,,^ v < v*7+5601< < <
v:+88<^,,,< >"0"+,v >v>:52*/"0"v > :v
v_39*,"m0["^ >v/ # \`^<v%*52,+< v*89 <
>:88+\- > v ^*:*52:<*! ^> `! v^ :-1\<
# :5 # 5>| >"0"+,v ^ v+g01_ :10g+^v<
: ^>2*:*\`!|2 > ^ v" "< >0085*1+ v ^,+55p+77<
- v%*:*25<: >" m"v v+1*< >">"89*4+^
1 > ^ v,,,< ^p+76-3*98"v"<
^ < >^ > ^ >">"98*1+76+p^
^,,,,,,,*39"[48;5;"< v!`*94: < ^ p01*4-1*48 <
print the first > ^ - ^ p01<
16 colors colorcell v_:10g+\1^ >:85+4*\`|
>10g+005v + 8>v $ v
v < v`\0:< > v>^
v$_:10v 6 5*4
v+g< g >^>*^
>\1-^ v # ,,,,, <
v:+88<^,,,< >"0"+,v >v>:52*/"0"v > :v ^,+55p+55<
v_39*,"m0["^ >v/ # \`^<v%*52,+< v*89 < >">"89*4+^
>:88+\- > v ^*:*52:<*! ^> `! v^ :-1\< ^p9-3*98"v"<
# :5 # 5>| >"0"+,v ^ v+g01_ :10g+^v< >">"98*1+9p^
: ^>2*:*\`!|2 > ^ v" "< >0085*1+ v ^ p01*4-1*48 <
- v%*:*25<: >" m"v v !`*94:< ^ p01<
1 > ^ v,,,< - >:85+4*\`|
^ < >^ > ^ v_:10g+\1^ + >85v $ v
^,,,,,,,*39"[48;5;"< >10g+005v > #* v>^
print the first > ^ v`\0:< + 4*
16 colors colorcell v$_:10v 6 >^
v+g< >85v
v < >\1-^ g
v # ,,,,, <
> >:| #
>$v 0
v < 1
^ +*< v ,*39_39*," "" m0["^
>:46*\-856*1-^ ^ < ^ # <
^ < v-1 < >"m0[",,,55+,^
|< ^ <
v ,*39_39*," "" m0["^
> ^ ^ < ^ # <
^+*-1*658-\*64:< v-1 < >"m0[",,,55+,^
finally, the 24 grays |< ^ <
@,,:+55,,,"[0m",*93<^: < *64p01*8-1*53p5*4+56"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=76 changed after the
starting and ending values "v",y=13,x=69 x 1st 16 colors after
of the loop ">",y=13,x=73 x 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 nowrap

0 comments on commit 432029b

Please sign in to comment.