star_burst
Version, currently master branch1 version
- master branchlatestJul 8, 2018
github.com/drhuffman12/star_burst
Star Burst pattern generator
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
star_burst:
github: drhuffman12/star_burst
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.25.1- License
- MIT
- Author
- Daniel Huffman
- Target
star_burstfrom src/star_burst.cr
Dependencies
Runtime Dependencies
- stumpy_gif*github: stumpycr/stumpy_gif
- stumpy_png*github: stumpycr/stumpy_png
- stumpy_utils*github: stumpycr/stumpy_utils
README
star_burst
Star Burst pattern generator
The 'rules' for this pattern are basically:
- Pick the center points for multiple 'stars' (at least one to start; randomly add others as time goes on).
- For each 'star', draw multiple rings of radial lines around the star using various colors. (I use the same color for each 'level' of rings in sync with the other stars; but you could randomize it to not be in sync.)
- For each ring of radial lines, don't draw a line if it would cross another star's current outer most ring.
- For each ring of radial lines, don't draw a line if it is off the page.
Installation
- Clone this repo.
cd some/path
git clone https://github.com/drhuffman12/star_burst
- Build an run (see examples under "doc/examples").
shards install
crystal build --release doc/examples/demo.cr
doc/examples/demo 100 100 8 12 4.0 1 doc/examples/a/
Usage
Examples
Below are some example sky 'seed' scripts, along with an example run's animated image.
doc/examples/a/run.sh

doc/examples/b/run.sh

doc/examples/c/run.sh

doc/examples/d/run.sh

doc/examples/e/run.sh

Contributing
- Fork it (https://github.com/drhuffman12/star_burst/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- drhuffman12 Daniel Huffman - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jul 8, 2018
- Crystal
0.25.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/drhuffman12/star_burst
Metadata
- Created
- Sep 1, 2026
- Updated
- Sep 25, 2026
- Synced
- Sep 25, 2026
- Versions
- 1