# DragDropMath: 기호 끌기로 대수 연습
# DragDropMath: algebra by dragging symbols

- Site: https://select1.dev/2026-11-29 (English), https://select1.dev/ko/2026-11-29 (Korean)
- Entry: 050
- Published: 2026-11-29 (KST). Launch date: 2026-11-28
- Pick: DragDropMath <https://dragdropmath.com/> (source: Show HN)
- Verified: ran
- What: DragDropMath 는 식의 기호를 끌어다 놓으며 대수를 연습하는 프로덕트다. 기호는 수학 규칙이 허용하는 곳으로만 움직인다. 교사는 문제 세트를 만들어 링크로 공유할 수 있다.
- What (en): DragDropMath is a product that lets you practice algebra by dragging the symbols of an expression. The symbols move only where the rules of math allow. Teachers can make their own exercise sets and share them as links.
- Why: 오늘의 픽으로 선정한 이유는 학생이 풀이를 읽지 않고 식을 직접 바꿔 볼 수 있기 때문이다.
- Why (en): It is today’s pick because students rewrite an expression themselves instead of reading a solution.
- Verdict: 작동한다. 허용되지 않는 곳에 놓은 기호가 되돌아오는 것을 확인했고 연습 문제도 풀었다.
- Verdict (en): It works. A symbol dropped where it was not allowed went back, and I solved the exercise.
- Tags: education, math, typescript, browser

## Checked against the README

- [fail] 기호는 수학 규칙이 허용하는 곳으로만 움직인다(They only go where the maths allows) — 사이트 코드의 규칙을 호출해, 변형마다 x = 2 일 때 변형 전후의 값을 계산했다. merge-powers 규칙은 ∛3·∛3·∛x 의 ∛3 두 개를 합쳐 3·∛x 로 바꿨다. 값은 2.6207 에서 3.7798 이 됐다. ∜5·∜5 는 √5 가 아니라 5 가 됐다. 제곱근은 변형 전후의 값이 같았다
- [pass] 사이트는 교사가 만든 문제 세트를 확인한다. 목표 식이 시작 식에서 유도되는지, 풀 수 있는지(they’re checked: the goal follows from the start, it can be solved) — 문제 세트 페이지에 2x + 3 = 11 → x = 5 를 넣고 Check 를 누르자 The goal doesn’t follow from the start 가 표시됐다. x = 4 로 고치자 Can be solved in 4 moves 가 표시됐다
- [pass] 광고, 추적기, 계정이 없다. 진행 기록은 브라우저에만 저장된다(no ads, no trackers, no accounts; progress is saved in the browser) — 빌드한 사이트를 로컬에서 열고 홈, 연습 문제, 문제 세트 페이지의 요청을 기록했다. 요청은 모두 로컬 서버로 전송됐다. 진행 기록은 localStorage 의 mathbyhand.outcomes.v1 에 있었다. 쿠키는 없었다

## Measured

- npm test 로 전체 테스트를 실행하는 데 걸린 시간: 77초 (4코어 컨테이너에서 npm test 를 한 번 실행했다. 테스트 3,454개가 통과했고 309개는 건너뛰었다)

## 한국어

## 무엇이 문제인가

식을 정리하고 방정식을 푸는 법은 보통 종이에 식을 한 줄씩 변형하며 배운다. 종이에서는 틀린 변형도 그대로 쓸 수 있다. Photomath 는 수학 풀이 앱이다. 문제를 카메라로 촬영하거나 입력하면 풀이를 단계별로 보여 준다. 공식 사이트에 따르면 학생은 각 단계를 확인하며 풀이를 이해한다. 하지만 앱이 식을 변형한다. 학생은 완성된 풀이를 읽는다.

## 어떻게 해결했나

물리학자인 제작자 Filippo Miatto 는 2026년 11월 27일 Hacker News 에 Show HN 글로 DragDropMath 를 공개했다. DragDropMath 에서는 학생이 식의 기호를 끌어다 놓아 식을 정리한다. 기호는 수학 규칙이 허용하는 곳으로만 움직이고, 허용되지 않는 곳에 놓으면 원래 위치로 되돌아온다. 제작자는 틀린 변형을 할 수 없으면 틀린 변형이 습관이 되지 않는다고 밝혔다. 연습 문제마다 목표 식이 주어진다. 학생은 시작 식을 목표 식으로 바꾼다. 단원은 항의 순서 바꾸기부터 이차방정식까지 13개다. 코드에는 대수 변형마다 규칙이 하나씩 있다. 규칙은 기호마다, 그 기호를 옮기면 나올 수 있는 식의 목록을 계산한다. Dragology 라이브러리는 기호를 끌었을 때 식이 이 목록에 있는 식으로만 바뀌게 한다.

## 무엇이 다른가

첫째, 식을 변형하는 주체가 다르다. Photomath 에서는 앱이 식을 변형한다. DragDropMath 에서는 학생이 기호를 끌어 식을 한 단계씩 바꾼다. 허용되지 않는 곳에 놓은 기호는 원래 위치로 되돌아오므로 학생은 그 변형이 틀렸다는 것을 바로 안다. 트레이드오프는 학생이 생각하지 않고 기호를 끌어 보기만 해도 문제를 풀 수 있다는 점이다. Hacker News 댓글에서 이런 지적이 나왔다. 제작자는 Mind's eye 모드로 이 문제를 보완한다고 답했다. 이 모드에서는 학생이 기호를 끌기 전에 보기 세 개 가운데 최종 답을 선택한다.

둘째, 풀 문제를 가져오는 곳이 다르다. Photomath 에서는 학생이 숙제의 문제를 카메라로 촬영해 입력한다. DragDropMath 에서는 단원마다 사이트가 연습 문제를 만든다. 교사는 자신의 문제 세트를 작성한다. README 에 따르면 사이트는 교사의 문제마다 목표 식이 시작 식에서 유도되는지, 그 단원의 변형으로 풀 수 있는지 확인한다. 문제 세트의 내용은 모두 링크 주소에 포함되고, 서버에는 저장되지 않는다. 트레이드오프는 13개 단원의 변형으로 풀리는 문제만 다룰 수 있다는 점이다. 숙제의 문제를 사진으로 넣는 기능은 없다.

## 어떻게 만들었나

- 커밋은 Show HN 글을 올리기 전 18일 동안 110개이고 모두 Filippo Miatto 가 작성했다. 110개 모두 Claude Opus 5.5 와 함께 작성했다는 Co-authored-by 트레일러가 있다.
- 테스트에는 규칙마다 예시가 있다. 테스트 코드에는 식 목록도 있다. 테스트는 이 식들의 변수에 무작위 값을 대입해, 변형 전후의 값이 같은지 확인한다. 모든 연습 문제를 단원의 변형으로 풀 수 있는지도 확인한다.
- 화면 문구와 단원 설명은 영어, 이탈리아어, 스페인어, 독일어 등 10개 언어로 되어 있다.

## 실행해 보니

저장소를 클론해 환경 변수를 비운 셸에서 빌드하고, 빌드한 사이트를 로컬 서버로 열어 Playwright 로 조작했다.

1. 설치와 빌드. `npm ci` 는 4초 만에 끝났다. `npm run build` 가 만든 정적 파일은 2.3 MB 다.
2. 테스트. `npm test` 를 실행하자 테스트 3,454개가 77초 만에 통과했다.
3. 연습 문제. 1단원 쉬움 단계의 문제는 4·4 + x 를 x + 16 으로 바꾸는 것이었다. x 를 두 4 사이에 놓자 식이 바뀌지 않고 x 가 원래 위치로 되돌아왔다. 4 를 다른 4 위에 놓자 4·4 가 16 이 됐다. x 를 앞으로 옮기자 풀었다는 메시지가 표시됐다.
4. 네트워크. 홈, 연습 문제, 문제 세트 페이지의 요청은 모두 로컬 서버로 전송됐다. 진행 기록은 localStorage 에 저장됐다. 쿠키는 없었다.
5. 문제 세트. 2x + 3 = 11 의 목표를 x = 5 로 넣고 Check 를 누르자 "The goal doesn’t follow from the start" 가 표시됐다. x = 4 로 고치자 4번 만에 풀 수 있다고 표시됐다.
6. 세제곱근. Hacker News 에 ∛(27x) 가 3·∛3·∛x 로 바뀌었다는 댓글이 있었다. 스크립트를 작성해 사이트 코드의 규칙을 호출하고, 변형마다 x = 2 일 때 변형 전후의 값을 계산했다. ∛3·∛3·∛x 에서 ∛3 두 개를 합치는 변형은 3·∛x 를 만들었다. 값은 2.6207 에서 3.7798 로 바뀌었다. ∛3·∛3 은 3 이 아니라 ∛9 다. ∜5·∜5 도 √5 가 돼야 하는데 5 가 됐다. √3·√3·√x 는 어느 변형에서도 변형 전후의 값이 같았다. 코드에는 같은 제곱근 두 개를 곱하면 근호 안의 값이 된다는 단축 규칙이 있다. 이 규칙은 그 근이 제곱근인지 확인하지 않는다.

```text title="터미널, 거듭제곱근을 합치는 변형"
PROBE sqrt(3)*sqrt(3)*sqrt(x): 5 states, 0 unequal
PROBE root_3(3)*root_3(3)*root_3(x): 5 states, 1 unequal
  BAD root_3(3)*root_3(3)*root_3(x) --[merge-powers]--> 3*root_3(x)  (2.6207 vs 3.7798)
PROBE root_4(5)*root_4(5): 1 states, 1 unequal
  BAD root_4(5)*root_4(5) --[merge-powers]--> 5  (2.2361 vs 5.0000)
```

## 확인하지 못한 것

- 휴대폰과 태블릿의 터치 조작. 제작자는 모바일 화면을 다듬기 시작했다고 밝혔다. Playwright 의 기기 에뮬레이션으로 같은 문제를 풀어 보자.
- 교사가 만든 링크를 학생이 여는 과정. 문제 세트를 확인한 뒤 링크를 만들어 다른 브라우저에서 열어 보자.

## 판정

작동한다. 허용되지 않는 곳에 놓은 기호가 되돌아오는 것을 확인했고 연습 문제도 풀었다. 다만 세제곱근이나 네제곱근 두 개를 합치는 변형은 식의 값을 바꿨다. 학생이 식 정리를 한 단계씩 직접 해 보게 하려는 경우에 써 볼 만하다.

## 얻어갈 것

- 변형 규칙을 무작위 값으로 검사할 때는 식의 종류도 바꿔 가며 시험하자. 거듭제곱근을 합치는 규칙이면 제곱근뿐 아니라 세제곱근과 네제곱근도 넣는다. DragDropMath 테스트의 식 목록에는 세제곱근 두 개를 곱한 식이 없었다. 그래서 테스트는 모두 통과했지만, 세제곱근을 합치는 변형은 값을 바꿨다.
- 입력을 규칙으로 제한하는 도구는 적용한 규칙의 이름을 보여 주자. Hacker News 에서 두 사용자가 변형마다 적용한 규칙의 이름을 보여 달라고 요청했다.

## English

## The problem

People usually learn to simplify expressions and solve equations by writing them out on paper. On paper, a wrong step can be written down as easily as a right one. Photomath is a math app. When you scan or type a problem, it shows a step-by-step solution. Its official site says students check each step to understand the solution. But the app rewrites the expression. The student reads the finished solution.

## How it solves it

Filippo Miatto, a physicist, posted DragDropMath to Hacker News as a Show HN on November 27, 2026. In DragDropMath, the student rewrites an expression by dragging its symbols. A symbol moves only where the rules of math allow. If you drop it anywhere else, it goes back to where it was. The maker says that when you cannot make a wrong move, wrong moves never become a habit. Each exercise gives a starting expression and a goal. The student turns the starting expression into the goal. There are 13 chapters, from rearranging terms to quadratic equations. In the code, each algebra move is one rule. For each symbol, the rules list the expressions you can make by moving it. The Dragology library accepts a drop only if the result is on that list.

## What is different

First, it differs in who rewrites the expression. In Photomath, the app rewrites it. In DragDropMath, the student drags symbols and changes the expression one step at a time. A symbol dropped where it is not allowed goes back, so the student knows at once that the move was wrong. The trade-off is that a student can solve an exercise by dragging symbols around without thinking. A Hacker News commenter pointed this out. The maker replied that the Mind's eye mode makes up for it. In this mode, you choose the final answer from three options before you drag any symbol.

Second, it differs in where the problems come from. In Photomath, students scan the problems from their homework. In DragDropMath, the site makes exercises for each chapter. Teachers can also write their own sets. According to the README, the site checks each exercise in a set. The goal must follow from the starting expression, and the chapter’s moves must be able to reach it. The whole set is stored in the link, not on a server. The trade-off is that it only covers problems that the 13 chapters’ moves can solve. You cannot add a homework problem from a photo.

## How it was built

- Filippo Miatto made 110 commits in the 18 days before the Show HN post. Every commit has a Co-authored-by line for Claude Opus 5.5.
- The tests check each rule against examples. They also put random values into the variables of the test expressions and check that each move keeps the value. Another test checks that each chapter’s moves can solve its exercises.
- The interface and chapter lessons are in 10 languages, including English, Italian, Spanish and German.

## Running it

I cloned the repository and built it in a shell with an empty environment. Then I served the build locally. I used Playwright to drag the symbols.

1. Install and build. `npm ci` took 4 seconds. `npm run build` made 2.3 MB of static files.
2. Tests. `npm test` ran in 77 seconds, and 3,454 tests passed.
3. An exercise. The easy exercise in chapter 1 asked me to turn 4·4 + x into x + 16. When I dropped x between the two 4s, the expression did not change and x went back. When I dropped one 4 onto the other, they became 16. When I moved x to the front, a message said it was solved.
4. Network. Every request from the home, exercise and set pages went to the local server. Progress was saved in localStorage, and there were no cookies.
5. Exercise sets. I entered 2x + 3 = 11 with the goal x = 5 and pressed Check. The page showed "The goal doesn’t follow from the start". With the goal x = 4, it said the exercise can be solved in 4 moves.
6. Cube roots. A Hacker News comment said that ∛(27x) turned into 3·∛3·∛x. I wrote a script that loads the site’s rules and computes the value before and after each move at x = 2. In ∛3·∛3·∛x, the move that merges the two ∛3 made 3·∛x. The value changed from 2.6207 to 3.7798. ∛3·∛3 is ∛9, not 3. ∜5·∜5 became 5, though it should be √5. On √3·√3·√x, every move kept the value. A shortcut in the code turns a square root times itself into what is under it. The shortcut does not check that the root is a square root.

```text title="Terminal, moves that merge roots"
PROBE sqrt(3)*sqrt(3)*sqrt(x): 5 states, 0 unequal
PROBE root_3(3)*root_3(3)*root_3(x): 5 states, 1 unequal
  BAD root_3(3)*root_3(3)*root_3(x) --[merge-powers]--> 3*root_3(x)  (2.6207 vs 3.7798)
PROBE root_4(5)*root_4(5): 1 states, 1 unequal
  BAD root_4(5)*root_4(5) --[merge-powers]--> 5  (2.2361 vs 5.0000)
```

## Not checked

- Touch on phones and tablets. The maker says work on the mobile interface has just started. Next, solve the same exercise with Playwright’s device emulation.
- A student opening a teacher’s link. Next, make a link after checking a set and open it in another browser.

## Verdict

It works. A symbol dropped where it was not allowed went back, and I solved the exercise. But merging two cube roots or two higher roots, such as fourth roots, changed the value of the expression. It is worth trying if you want students to work each step themselves.

## What to take away

- When you test rewrite rules with random values, vary the kinds of expressions too. For a rule that merges roots, include cube and fourth roots, not only square roots. DragDropMath’s test expressions had no product of two cube roots. So every test passed, yet merging cube roots changed the value.
- If a tool accepts only moves that its rules allow, show the name of the rule it applied. Two Hacker News commenters asked to see the name of the rule behind each move.

## Launches the same day

- DragDropMath <https://dragdropmath.com/> (Show HN, 168): 대수 연습 사이트. 식의 기호를 끌면 수학 규칙이 허용하는 곳으로만 움직인다.
- Luciole Mono <https://scriptor-pro.github.io/luciole-mono/> (Show HN, 131): 터미널용 고정폭 글꼴. 시력이 낮은 독자를 위해 만든 글꼴 Luciole 을 바탕으로 했다.
- Inkling 2 Mini on GB10 <https://runtimenotes.com/blog/getting-101-tok-s-from-inkling-2-mini-in-vllm-on-one-gb10/> (Show HN, 62): 실험 기록. GB10 에서 vLLM 으로 Inkling 2 Mini 를 초당 101토큰까지 실행한 과정을 소개한다.
- 52 KB WebAssembly LLM engine <https://tesseracted.com/experiments-llm-os/> (Show HN, 35): WebAssembly 엔진. 브라우저 탭에서 Qwen3.5-2B 를 실행한다. 엔진의 크기는 52 KB 다.
- Fleetlayer <https://fleetlayer.ai/> (Show HN, 27): 에이전트 운영 프레임워크. 여러 컴퓨터에서 AI 에이전트 여러 개를 실행하고 관리한다.
- unLAB.run <https://unlab.run> (Show HN, 14): 브라우저 탭 속 홈랩. 리눅스 컴퓨터 여러 대와 가상 스위치로 만든 네트워크를 탭에서 실행한다.
- face-recognition-sdk <https://github.com/viante-ai/face-recognition-sdk> (GitHub, 250): 얼굴 인식 SDK. Windows Server 의 Python 앱에 얼굴 인식과 생체 인증을 연동한다.

## Getting started

- Steps: git clone https://github.com/ziofil/dragdropmath && cd dragdropmath ; npm ci && npm run build && npx vite preview
- Needs: Node.js 와 npm. 사이트만 사용하려면 브라우저로 dragdropmath.com 을 열면 된다. 계정은 필요 없다.
- Cost: 무료, MIT 라이선스.
