Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

P3: scene-render framing appears ~10px high vs Arcentry reference (shift down raises fidelity)

Aperta
#85 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
frontend, testing

Direzione di ricerca

Start in packages/editor-2.5d-react/src/iso/scene-render.test.ts, where REFERENCE_ZOOM and the frozen camera are set, and check how tests/scene.json feeds the render. Sweep a small vertical camera offset and compare scores against tests/snapshots/reference-canvas.png. Done means a better-scoring offset is recorded with pnpm visual:record and the existing visual tests still pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:holodeck review-finding

Found while reviewing #84 (rescored fidelity metric, pre-existing under the old metric too).

Shifting the current scene-render output 10 px down raises the Arcentry fidelity score against tests/snapshots/reference-canvas.png:

image new metric (#84) old metric
current render (darwin, chromium-1217) 0.16487 0.283
render shifted (0, +10) 0.16805 0.29214
render shifted (+10, 0) 0.10263 0.23462

All other degradations probed (shift +3/+30, zoom 0.95/1.02, erasing a part) score lower, so the metric does discriminate. This result suggests our framing sits a few pixels above Arcentry's, a cheap fidelity gain for M2 Arcentry parity.

Where: packages/editor-2.5d-react/src/iso/scene-render.test.ts (REFERENCE_ZOOM / frozen camera) and tests/scene.json.

Fix: sweep a vertical camera/pan offset of a few pixels, take the best score, and record it with pnpm visual:record.

🤖 Generated with Claude Code

Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
11h 21m
PR unite (30g)
41

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hyperdrive-technology/holodeck

Tutte le issue di hyperdrive-technology/holodeck

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.