beneater/boids

Question about your Visualizing Quaternions Exploratory Videos Implementation

mithi opened this issue · 0 comments

mithi commented

Hi Ben!

Huge fan of your work! I couldn't find your email on your website so I hope it's alright that I write my message here.

I was wondering if you will open source the technology you created for visualizing quaternions?

I inspected the page and found out that it's regular styled html input elements on top of an svg and the svg is manipulated with javascript. The minified javascript file is about 1.3 MB.

The reason I'm asking is that I created this bare minimum hexapod robot simulator from scratch. I used plotly's scatter + line plot for rendering the hexapod skeleton, but it seems like it is a bit of an overkill and x3dom or d3js is just as heavy.
I couldn't find a more lightweight way to accomplish what I need, I'm beginning to think that I'll have to write one from scratch.

I'm thinking that maybe it wouldn't hurt to ask if I can view your code for inspiration and for education purposes? (I'm particularly interested in how you implemented the touch or mouse drag event listener callbacks to manipulate the camera view of the plot)

Thanks for taking the time to read this, and I'm really hoping that you could find a few seconds to share your thoughts.

Here's the repo of my project by the way hope you find it interesting!

https://github.com/mithi/hexapod

Sincerely,
Mithi