circles-sines-signals icon indicating copy to clipboard operation
circles-sines-signals copied to clipboard

Update dot product subheading according to selected vector

Open usdivad opened this issue 2 years ago • 0 comments

Hi! I was revisiting this amazing resource and noticed that in the dot product page, toggling "Mouse Moves A"/"Mouse Moves B" doesn't update Figure 1's subheading accordingly.

This is such a tiny, tiny thing, but figured I'd bring it up anyways -- I've put in a simple change in this PR.

(I also adjusted the button text to say "Pink"/"Blue" instead of "A"/"B" for slightly more consistency with the subheading, but could see "A"/"B" still making sense given the notation and example on the same page.)

In any case, feel free to ignore since this is super minor, and thanks so much for providing this incredible work!!


Here's a video comparison of before vs. after, for easy reference:

Before:

https://user-images.githubusercontent.com/2868935/176601122-d4fc38b6-ff80-46a7-b543-5eac29dd3e6e.mp4

After:

https://user-images.githubusercontent.com/2868935/176601132-a6428802-b5fb-4cd6-84de-ebd6530bda9f.mp4

usdivad avatar Jun 30 '22 05:06 usdivad