🌌 Galaxy mode: one spiral arm per month

Open
#22 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend

Research direction

Start with the proposed src/galaxy.js entry point and trace how the disk mode uses computeStats, the PRNG, themes, and its tests. Then inspect the CLI and preview paths to see how modes are registered. Done means --mode galaxy works in both, rendering is deterministic and script-free, and the output stays under 300 KB.

Written by the indexing model from the issue text.

Description

enhancement help wanted iteration-4

Idea

--mode galaxy: no black hole, a face-on spiral galaxy. Each month is an arm, each day a star on it, your busiest month the brightest arm, and the core glows with your current streak.

Where to start

  • New src/galaxy.js exporting renderGalaxy(data, opts); reuse computeStats, the PRNG and the themes.
  • Logarithmic spiral: r = a·e^(bθ), 12 arms offset by 30°.
  • The whole galaxy rotates slowly (one <g> with @keyframes spin).

Done when

  • --mode galaxy in the CLI and the preview
  • Deterministic, script-free and < 300 KB (same tests as the disk)
Dominant language
JavaScript
Stars
0
Forks
0
Avg merge
1m
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FelipeBeltranING/commit-horizon

All issues in FelipeBeltranING/commit-horizon

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.