HN.zip

Show HN: DragDropMath – Learn math by feel

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 thereI'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

108 points by - 33 comments

33 Comments

[3 hidden]5 mins ago
> 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.

[3 hidden]5 mins ago
I'm not sure I agree. The UI lacks affordances, so you don't know if something is going to work until you try it. What the "can only move in ways the math allows" restriction is actually getting you is really fast feedback. If you try to move something and it doesn't work, you did something wrong.

This does rely on the human to not just try clicking everything.

[3 hidden]5 mins ago
every allowed move is covered in the lessons though, so technically one shouldn't even need much guesswork
[3 hidden]5 mins ago
The lessons teach you and then you practice it.

I agree it's not too hard. Might be harder if I hadn't already learned algebra, though.

[3 hidden]5 mins ago
that's a good point, i could have "expert blindness"
[3 hidden]5 mins ago
That's fair, and in fact I was worried that a user could just keep going through exercises mindlessly, without learning. To address that gap, I provided a "Mind's eye" mode: it asks you to enter the final answer up front before touching the symbols, which forces you to execute the transformations mentally without any UI bumpers.
[3 hidden]5 mins ago
Good observation. And that's a good case to do some game design. Excited to see what OP comes up with.
[3 hidden]5 mins ago
"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...

[3 hidden]5 mins ago
oh wow, that does look similar!
[3 hidden]5 mins ago
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.

[3 hidden]5 mins ago
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
[3 hidden]5 mins ago
I made something in the same general field, if anyone would like to play with it: https://3e.org/units/
[3 hidden]5 mins ago
Could you drop a link to the repo? Would love to contribute to this...
[3 hidden]5 mins ago
[3 hidden]5 mins ago
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.
[3 hidden]5 mins ago
could you let me know if you tried on desktop or mobile? and did you go through the lessons or did you go straight to the exercises?
[3 hidden]5 mins ago
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
[3 hidden]5 mins ago
If you want to just grab the t on the right of (1+t)t you should keep it pressed (for 0.2s), does that solve your issue?

I value the feedback though, because it means it's not explained well enough.

[3 hidden]5 mins ago
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.

[3 hidden]5 mins ago
Thank you for the feedback, I’ll think about your points!
[3 hidden]5 mins ago
i cut my balls off if that beats a list of exercises, pen and paper and repetition.
[3 hidden]5 mins ago
lol careful!
[3 hidden]5 mins ago
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.
[3 hidden]5 mins ago
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.
[3 hidden]5 mins ago
Can you press the Show button to see the move? Are you pulling it 'enough'?
[3 hidden]5 mins ago
OK. It seems to be possible only for dragging the leftmost term out, and I was dragging the other term. I had never had to use the Show button before, so by that point it was more or less invisible.
[3 hidden]5 mins ago
the other term should work too if you drag it to the right
[3 hidden]5 mins ago
I remember trying both ways, though I'm a fallible human.

What if you had a middle term? Seems confusing. (I'm just aiming to help.)

[3 hidden]5 mins ago
Good question, i guess i should allow it to be pulled out from either direction. Now you'd first move it to either end and then you pull it out, but it's two moves and it could be just one.
[3 hidden]5 mins ago
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.
[3 hidden]5 mins ago
log and exp could use more of an intro I think. Very cool and great idea!
[3 hidden]5 mins ago
Noted, thanks!
[3 hidden]5 mins ago
cool!