Log In  
Follow
Coldbach

Cart #cellgenny-1 | 2019-07-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

This is just an experiment. It is a cellular automaton similar to game of life but the dead cells cannot suddenly become alive. Instead, alive cells can spawn cells near them. For that matter, alive cells can also kill cells near them. And each cell that is alive has some "DNA" that defines what it will do based on the state of its 8 neighboring cells. When cells decide to spawn new cells next to them, they inherit the same DNA with some random mutations.

In contrast to the game of life, the world is not updated all at once. Cells are asked to "think" and update the table one after the other and the effects of their decisions are immediate. But I avoid asking neighboring cells one after the other

[ Continue Reading.. ]

2
0 comments



If you are on linux you can use firejail to launch PICO-8 sandboxed. That way PICO-8 cannot access all your files, only those in its directory and its configuration directory.

I assume that you have the PICO-8 binaries in ~/pico-8 and that you are using the default config directory ~/.lexaloffle

I also assume that you are saving screenshots in the ~/pico-8 directory and not on your Desktop. To do that you need to edit the "desktop_path" line in your ~/.lexaloffle/pico-8/config.txt to be like this:

desktop_path /home/username/pico-8/screenshots/

Replace "username" with your actual Linux username for the rest of this post.

Now, install firejail from your repositories (sudo apt install firejail) or download a newer version from their website (up to you)

Create a file called pico8.profile in ~/.config/firejail

Put the following in this file:

include default.local

include globals.local

noblacklist ${HOME}/.lexaloffle
noblacklist ${HOME}/pico-8

[ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=65219#p)
1
0 comments



If you boot up PICO-8 like this:

./pico8 -home $(cd .; pwd)/data/

Then the splore command has a weird bug: Updating the "New" page shows nothing in the "New" page and instead the "Featured" page shows the results that were fetched from the "New" category!

This bug is not present if you boot PICO-8 normally without a custom home dir.

(Also, the above weird $(cd .; pwd) command is the only way I've found that will allow me to make a portable version of PICO-8. Using "." will break the "cd" command in PICO-8 so I have to construct and pass an absolute path. Which is a second bug, perhaps I should open another thread about that.)

0 comments



Cart #bists-38 | 2019-08-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

[0x0]
[0x0]
[0x0]
Bists have a brain with 23 parameters that governs how they behave, how much HP they have and how fast they are (more HP = less speed). They are aware of their nearest green bist, the nearest red bist, as well as the nearest food source. The decide how to move towards or away of these things, how far to look for their closest bists and food, when to switch their color, how often to think, and when to slack off and slow down their falling HP. When their HP is full they give birth to offspring that has randomly mutated parameters.

[ Continue Reading.. ]

2
4 comments