Repository navigation
feat: 잉크 면적 기반 질량 + 특수 충돌체 (Day 2 전반) - #6
Merged
Merged
Conversation
- 오프스크린 캔버스에 글자를 그려 불투명 픽셀 수를 질량으로 사용 (획이 많은 뷁·쫑은 무겁고, 이·아 는 가볍다) — 글자별 캐시 - ㅇ/0/o/O 등 원형 글자는 원형 충돌체로 굴러간다 - ./,/' 등 가벼운 기호는 반발계수 0.75로 잘 튄다 - 질량·형태 상수는 constants.ts 의 MASS/SHAPES 에 집약 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013jzX6PJvGgLYvdvXBBRS4m
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
목표 (PRD §4.2 질량과 형태)
글자마다 물리적 개성을 준다 — 게임 필의 핵심 튜닝.
변경 내용 (파일 2개)
뷁,쫑처럼 획이 많으면 무거워서 아래 글자를 뭉개고,이,아는 가벼워서 튕겨나간다.ㅇ 0 o O ○ ◎ ●은 원형 바디라 굴러간다.. , ' : ;등은 아주 가볍고 반발계수 0.75로 톡톡 튄다.constants.ts의MASS/SHAPES— 이후 미세 튜닝은 이 파일 한 줄씩만 고친다.확인 방법
머지 후 사이트에서:
뷁뷁뷁쌓고 그 위에이이이→ 가벼운 글자가 튕겨나가는지ㅇㅇㅇ또는ooo→ 바닥에서 구르는지...→ 톡톡 튀는지이후 튜닝
느낌 피드백(무겁다/가볍다/너무 구른다 등) 주시면
MASS.perInkPixel,SHAPES.bouncyRestitution등 상수만 조정하는 후속 PR로 반영.Generated by Claude Code