Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 1.99 KB

README.rst

File metadata and controls

77 lines (42 loc) · 1.99 KB

Blue Ocean

The content of this repository is licensed under the MIT License.

i/blue-ocean-tc.gif

blue-ocean-tc.sh (24-bit/true color) (YouTube)

https://lh6.googleusercontent.com/-6bX5MlTzt3U/UmOwi8arp_I/AAAAAAAAFR8/NS4mmTgMK0U/s800/blue-ocean.sh.gif

blue-ocean.sh (256-color)

i/blue-ocean-eca-150.png

Default Rule 150 (YouTube)

blue-ocean-eca.sh uses elementary cellular automaton (ECA) to simulate random depth (blue color value) changes with Bash $RANDOM. The script accepts one argument as the ECA rule number, default is 150. The use of ECA was inspired by fireplace.

The ECA state controls if the blue value randomly (10% of $RANDOM) goes up or down. Both ECA cellular tape and the array of blue values are cyclic tag system, which is unlike previous Blue Ocean scripts, which have edges.

The following screenshots are with different rules:

https://lh3.googleusercontent.com/-0k1BMsEqYdQ/UmOwjO1bQqI/AAAAAAAAFR0/IqGQa9sDvQc/s800/gray-canyon.sh.gif

gray-canyon.sh (256-color)

https://lh5.googleusercontent.com/-R8KsS2Ekx_s/UmOwjNdp-6I/AAAAAAAAFR4/7JmgxwaRS8A/s800/rainbow.sh.gif

rainbow.sh (256-color)