chrxh / alien

ALIEN is a CUDA-powered artificial life simulation program.
https://alien-project.org
BSD 3-Clause "New" or "Revised" License
3.48k stars 106 forks source link

Examples? #78

Closed joshuajon closed 9 months ago

joshuajon commented 9 months ago

The documentation frequently references examples in the ./examples/ directory, but I can't find them anywhere! Do these exist and if so where can they be acquired?

Thanks!

TheBarret commented 9 months ago

The documentation frequently references examples in the ./examples/ directory, but I can't find them anywhere! Do these exist and if so where can they be acquired?

Thanks!

In the simulator is a browser where everyone can browse and upload his genomes and simulations,

image

image

joshuajon commented 9 months ago

The browser seems great, but the docs reference files like "./examples/simulations/Complex Fluids.sim". for example here: https://alien-project.gitbook.io/docs/getting-started/simulation-parameters

Maybe those files exist within the browser somewhere? If so, then this is just a documentation issue.

rocketjoe123 commented 9 months ago

If you look at the beginning of each page there’s a bit about how the documentation was written for an earlier version of the simulation. This is most likely where the discrepancies you’re encountering originate, as the Examples folder has been removed in favor of simulations uploaded to the built in browser. At least as far as I’m aware, chrxh would obviously know the exact current state of things better than I do.

TheBarret commented 9 months ago

The browser seems great, but the docs reference files like "./examples/simulations/Complex Fluids.sim". for example here: https://alien-project.gitbook.io/docs/getting-started/simulation-parameters

Maybe those files exist within the browser somewhere? If so, then this is just a documentation issue.

You can try my supplementary how-to, it is a quick version of "what and how"

Here: https://github.com/chrxh/alien/discussions/72

chrxh commented 9 months ago

The documentation was written for the previous ALIEN version. Thus everything written there is potentially outdated. This is the reason why I had added a warning on the top of each page.

There are now no more sim files in the repository (except the startup example). Everything can be found in the in-game browser. This step was taken mainly for 2 reasons:

A disadvantage is that the simulation files are now on a database on a server. Although everyone can save them locally, but if the server is not reachable, one can not access them anymore. For this reason, I will put all simulations in a separate repository on GitHub in the future. That should compensate this disadvantage.

Regarding the documentation of the current version: Writing documentation is important but no fun, especially if you enjoy developing. It took me a lot of effort to do that in the past. That's why I'm following a different concept for the current version: The essential information should already be contained in the program help and in the countless tooltips.

joshuajon commented 9 months ago

Thanks for that explanation. I'll check out @TheBarret's docs, as well as try to figure out what's going on from the tooltips. Unfortunately I can't seem to get it to run at this point, but I figure I'll put that in a separate thread.