X-Git-Url: https://git.subgeniuskitty.com/screensavers/.git/blobdiff_plain/004edcbf9babe16297ca24ba9df71ca8ae91370a..89ff0c45f60d0ed38e6bcd67b8925b0dee7cecc0:/hacks/WolframAutomata/README.md?ds=sidebyside diff --git a/hacks/WolframAutomata/README.md b/hacks/WolframAutomata/README.md index 026b9cf..6bbd56a 100644 --- a/hacks/WolframAutomata/README.md +++ b/hacks/WolframAutomata/README.md @@ -111,12 +111,7 @@ from `curated_ruleset_list[]` in `WolframAutomata.c`. from a curated list. Note that many rules are visually uninteresting. - **`-rule N`**: Select a specific rule where `N` is a Wolfram number. Values - from 1-255 inclusive are valid. - -Note that, although Rule 0 is a valid set of rules, it is reused as a null -value by the program and thus is ignored if passed as `-rule 0`. If you want to -see Rule 0, choose any starting conditions you desire, then turn off your -monitor and enjoy the resulting simulation. + from 0-255 inclusive are valid. CLI: Simulation Speed @@ -212,7 +207,7 @@ XScreensaver via whatever method is appropriate for your operating system. The following instructions assume the filesystem paths used by FreeBSD packages and ports; your paths may differ. After XScreensaver installation, ensure all pertinent config files are created by running `xscreensaver-demo` and -configuring it for your system. +configuring XScreensaver for your system. After XScreensaver is configured and working on your system, ensure that WolframAutomata runs in standalone mode on your system. If you can `make clean run` @@ -235,19 +230,28 @@ example, on FreeBSD: TODO: Finish writing this file after the command line options are finalized. -The final step integrates WolframAutomata into an individual user's -XScreensaver framework. If preferred, it could instead be done in the global -XScreensaver config. +The next step integrates WolframAutomata into an individual user's XScreensaver +config via the file `~/.xscreensaver`. If preferred, it could instead be done +in the global XScreensaver config. -Add the WolframAutomata entry under the `programs:` label, in the same list as -all the other hacks. Position in the list is irrelevant, but ensure you don't -paste WolframAutomata's entry into the middle of pre-existing, multi-line -entries. +In the `~/.xscreensaver` file, create a WolframAutomata entry under the +`programs:` label in the same list as all the other hacks. Position in the +list is irrelevant, but ensure you don't paste WolframAutomata's entry into the +middle of pre-existing, multi-line entries. For context, the example below +includes a multi-line entry, a GL entry and a plain entry. All that is needed +is to insert the WolframAutomata line somewhere in the `programs:` list, as +demonstrated. vi ~/.xscreensaver + programs: \ - WolframAutomata -root -party-mode \n\ + xplanet -vroot -wait 1 -timewarp 400 \ + -label -origin moon \n\ + GL: fireflies -root \n\ + WolframAutomata -root \n\ + blitspin -root \n\ + That's all. Now you can run `xscreensaver-demo` and select WolframAutomata just like any other hack.