Show HN: DragDropMath – Learn math by feel

ziofill 118 points 36 comments November 27, 2026
dragdropmath.com · View on Hacker News

Hi HN! I am a professional physicist and I shuffle symbols in equations and mathematical expressions all day long. During my PhD (almost 20 years ago) I noticed that it is as if the symbols have their own 'physics', which makes the wrong moves impossible and the right ones obvious. So I created DragDropMath, where you can learn how to simplify mathematical expressions and how to solve equations by dragging symbols around, and only correct moves are allowed, so you get to feel what's right without experiencing (and so learning) wrong moves. I always wanted to make this, but life got in the way. Then a few weeks ago I saw declarative dragging ( https://declarative-dragging.github.io/ ) on the front page of HN and the spark came back! It took quite a few rounds to get the feel right, but I think it's close to what happens in my mind when I mentally manipulate these expressions. A few more points: - There are no ads, no trackers, no accounts (it's a static website and progress is saved in the browser cache). - Teachers can create their own problem sets, encoded in the link. - I plan to add more chapters (trigonometry, complex numbers, some calculus) but I first need to figure out the 'right' mode of interaction. - I just started working on the experience from mobile, so there may still be some rough edges there I'm curious to know what you think, if you have suggestions for content, if you spot anything that I should fix, if you have feature requests! Thank you in advance

Discussion Highlights (15 comments)

sidcraftscode

Could you drop a link to the repo? Would love to contribute to this...

abecedarius

In chapter 3 "pull a term out of the exponent" I'm not finding a way to do it: I can drag a term around within the exponent, and that sum will rearrange when I do, but if I try to drop it outside the exponent, it only snaps back into place.

NickNaraghi

This is super compelling. For my learning style, everything was very intuitive, and dare I say fun. I think this can open up math for a whole segment of the learner population that previously did not enjoy engaging with it! Great work.

FergusArgyll

log and exp could use more of an intro I think. Very cool and great idea!

rlue

> It can only move in ways the maths allows. This property is desirable for a tool that assists you in performing work, but actually undesirable for a tool designed to guide your learning: it means you are protected from doing something wrong (much like when they put up the bumpers/siderails at a bowling alley), the result being that you receive no feedback when your mental model requires adjustment.

jacobolus

The section on a product of binomials breaks for me. After dragging one binomial onto the other, the resulting products of a term times a binomial can't be distributed. That is, I get a product like (1+t)t but I can't drag the t without moving the whole expression. https://dragdropmath.com/#/c/brackets

spolitry

The solutions do weird stuff like moving a term back and forth across the equal sign uselessly. It doesn't seem possible to complete the square or to square the sides of an equality, quite awkard for solving quadratics Also, the UI gives no indication of how the operations are triggered. Needs a way to see what operations are possible and how to execute them.

Normal_gaussian

I don't think this works well, in its current state. I mainly think its to do with the drag and drop functionality itself - it becomes somewhat unintuitive and even with knowledge of what should or could be possible I struggle to achieve my goals. A few more iterations of that, particularly with some over the shoulder observations of your target audience, might help significantly.

ziofill

While the link is still on the front page I'd like to thank you all for all the feedback! DragDropMath is free, open source (MIT), with no ads or tracking, and will stay that way. It will only get better over time! A few people asked how to support it, so there's now a Ko-fi link on the About page: https://ko-fi.com/ziofil

joshuahhh

"Declarative Dragging" co-author here. It's wonderful to see our work encouraging you to explore this space of interaction. Thanks for sharing! You might be interested in checking out: - Graspable Math: https://activities.graspablemath.com/ - our (cursorily vibe-coded) demo based on Graspable Math: https://declarative-dragging.github.io/dragology/#/demos/gra...

dmd

I made something in the same general field, if anyone would like to play with it: https://3e.org/units/

caiomassan

i cut my balls off if that beats a list of exercises, pen and paper and repetition.

owenpalmer

I love this. Made a similar app for my young niece: https://poof.fly.dev/ Instead of using variables, it uses emojis. You learn about cancelling terms and the distributive property.

SilentM68

Great idea for an app! Once you get the hang of how the values could be manipulated (e.g. grabbing vs double-clicking) it becomes easier to use. I'd make the grabbing function more intuitive by changing the pointer to an arrow to indicate that a variable can be moved when hovered over the appropriate variable location.

1234trevor

its good. students needs "DragDropMath"

Semantic search powered by Rivestack pgvector
4,908 stories · 45,036 chunks indexed