https://github.com/kojix2/gray_scott_gtk3
Ruby implementation of the Reaction diffusion system (Gray-Scott model)
https://github.com/kojix2/gray_scott_gtk3
gray-scott-model narray reaction-diffusion
Last synced: 7 months ago
JSON representation
Ruby implementation of the Reaction diffusion system (Gray-Scott model)
- Host: GitHub
- URL: https://github.com/kojix2/gray_scott_gtk3
- Owner: kojix2
- Created: 2018-11-24T07:49:16.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-01-17T03:46:05.000Z (over 1 year ago)
- Last Synced: 2025-01-17T04:30:32.349Z (over 1 year ago)
- Topics: gray-scott-model, narray, reaction-diffusion
- Language: Ruby
- Homepage:
- Size: 12.6 MB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# gray_scott_gtk3
[](https://rubygems.org/gems/gray_scott_gtk3)
[](https://github.com/kojix2/Gray-Scott/actions/workflows/ci.yml)
[](https://zenodo.org/badge/latestdoi/158914232)
Ruby implementation of the [Reaction diffusion system](https://en.wikipedia.org/wiki/Reaction%E2%80%93diffusion_system) (Gray-Scott model).

## Installation
```bash
gem install gray_scott_gtk3
```
Support GPGPU with [Cumo](https://github.com/sonots/cumo).
## Usage
```bash
grayscott
```
```bash
grayscott --help
# Usage: grayscott [options]
# -h, --height val height of the model
# -w, --width val width of the model
# -g, --gpu use GPU(Cumo)
```
NOTE : You can set the width and height of the model, but the width and height of the window is fixed at 512 x 512 pixels.

## Known issue
Glib::Timeout.add(number_of_seconds)
If processing can not be completed within the time, it will not be displayed.
In this case, you should increase the number of seconds.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/kojix2/Gray-Scott.
Do you need commit rights to my repository?
Do you want to get admin rights and take over the project?
If so, please feel free to contact me @kojix2.