In this modified and much more powerful version of BrainF, you may add numbers after certain commands to specify the amount of certain things For example: >73 will move the pointer in memory over by 73 cells <46 will move the pointer in memory back by 46 cells +13 will add 13 to the current cell -29 will subtract 29 from the current cell Putting a number at the end of a loop (for example [->+>+<2]3) will make the loop stop only if the current cell pointed to is equal to 3 Putting a number after a command is not required, so >1 can be shortened to just > There are also a couple of new commands = sets the value in the current cell to the following number _ sets the position of the pointer to the following number if no value is given then = will default to 0 and _ will default to 1 | pauses the program for a frame and renders to the screen (please note that a number cannot follow |, If you want to pause for multiple frames add multiple |) the screen is a 64*64 grid of pixels (4096 in total) that goes from the top left to the bottom right and uses the first 4096 cells as its visual data. the screen is monochromatic and uses values 0-100 for brightness. If you don't want your code to mess with the screen then jump to cell 4097 using _4097 note that the pointer starts at position 1 and cannot go lower values inside of cells are integers that range from -infinity to infinity you may add comments but they can only be plain alphabetical text @ can be used in place of a number after a command to use the value in the cell currently being pointed to as the number instead you may also put a number after this to specify any adress # can be used in place of a number after a command to use the position of the pointer as the number instead @ and # can be used after < > _ + - = @
THIS PROJECT CAN BE CPU INTENSIVE USE TURBOWARP TO RUN FASTER: https://turbowarp.org/1366891985/fullscreen screen is 64*64 and pixels go from 0-100 brightness scroll down for preset programs Blur based cellular automaton _9999-_4033=100_2000=100_3163=100_1057=100[_10005{<+16_9999}{1<-16_9999}_10004{4096>=1}{>=0}_@10004+256_10000=[_10001=>=>=_10000+>=@@10000<->+@@10000<++>+@@10000<-65>+@<+128>+@<-64>{+}[->+{5>+<-5}<]<_@>4096=]4096_10000=[_10000+_10001=+4096=@@<_@=]4096|_9999] Slow circle generator _5000=1176[_5000+>=>=>=>=>=>=>=<6{+}[->+{64>+<-64}<]_5002-32>-32_5006=>=-{+}[-<-<+>{>=<+<<++>>}>]_5004-=_5006=>=-{+}[-<-<+>{>=<+<<++>>}>]_5004-=>=->=<[+<+{200>=200>=1<<+}>]200>{1=100}_=|_5000]4096| Conway's Game of life: _67=100>62=100>2=100>63=100>=100_2032=100>63=100>=100>64=100>=100[_10000=[+_10001==>=>=<_{100_10004=2}_10001-65_{100_10003+}_10001+_{100_10003+}_10001+_{100_10003+}_10001+62_{100_10003+}_10001+2_{100_10003+}_10001+62_{100_10003+}_10001+_{100_10003+}_10001+_{100_10003+}_10001_10002=>>{2-}<{2<=>=}{3<=1>=}_>4096=]4096_10000=[+_=>4096{1<4096+100>4096+}<4096_10000]4096|_9999]1