[Fractal-gh] Add drag-box zoom, mouse-wheel zoom and shareable coordinates in the URL
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 54/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- frontend
Research direction
Read Mandlebrot/Fractal-gh/app/app.js around lines 153–172 and Mandlebrot/Fractal-gh/app/fractal.js around zoomInPxBox (lines 32 and 126–128). Start by tracing the existing click zoom and update flow. Implement drag selection, cursor centered wheel zoom, and hash state loading and saving; verify each acceptance criterion, including restoring the view from a copied URL.
Written by the indexing model from the issue text.
Description
Summary
fractal.js already supports zoomInPxBox, but app.js never uses it; zoom is fixed at 5x per click and there is no way to share or bookmark a location.
Location
Mandlebrot/Fractal-gh/app/fractal.js:32,126-128(zoomInPxBoximplemented)Mandlebrot/Fractal-gh/app/app.js:153-172(only click / alt-click / shift-click handled)
Evidence
grep -n zoomInPxBox Mandlebrot/Fractal-gh/app/app.js returns nothing.
Expected
Users can drag a rectangle to zoom, use the wheel for fine zoom, and copy a URL that reopens the same view.
Proposed fix
- Mouse down/move/up draws a selection rectangle; on release call
update({zoomInPxBox}). wheelevent: zoom by 1.25x around the cursor.- Store
cordsandmaxEscapeTimeinlocation.hash; read them on load.
Acceptance criteria
- Drag-zoom selects exactly the dragged region (aspect corrected)
- Wheel zoom keeps the point under the cursor fixed
- Reloading a copied URL restores the view
Repository audit, November 2026 · Phase 9 · New features · evidence: reproduced · ref fractals-equations-009
Generated by Claude Code
- Dominant language
- C++
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ibra-kdbra/Math-Problems
-
area: security-algorithms priority: P1 size: XS type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
ibra-kdbra/Math-Problems#417 ·
-
area: math-chaos priority: P3 size: S type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ibra-kdbra/Math-Problems#397 ·
-
area: docs-site good first issue priority: P3 size: XS type: chore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ibra-kdbra/Math-Problems#379 ·
-
area: docs-site good first issue priority: P3 size: XS type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ibra-kdbra/Math-Problems#378 ·
-
area: docs-site good first issue priority: P2 size: XS type: chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ibra-kdbra/Math-Problems#367 ·
All issues in ibra-kdbra/Math-Problems
Similar issues
-
c++ easy first-contributor first-contributors good first issue help wanted up-for-grabs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
fork-commit-merge/fork-commit-merge#8709 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 71/100
ClickHouse/clickhouse-odbc#680 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ionut-mihalache/aqua#31 · 1 comment ·