ChristopherChudzicki / math3d-react

A user-friendly 3d graphing calculator for the web. Create, share, and animate 3d mathematical scenes.
https://www.math3d.org
Mozilla Public License 2.0
245 stars 34 forks source link

Ability to duplicate objects #358

Open leleogere opened 1 year ago

leleogere commented 1 year ago

Maybe I'm missing something really obvious, but I can't find out how to duplicate objects.

Sometimes, I need to create multiple similar objects. For now, I have to manually use the "Add object" button, select the object type, and then copy and paste individually each individual field (formula, variable name, x and y domains...). This can quickly get quite tedious when I want to create more than two similar objects.

Having the possibility to duplicate/copy&paste an object would be a really great addition!

ChristopherChudzicki commented 1 year ago

Hi leleogere, That sounds like a good addition. Do you have any thoughts on a user interface for this? Where would the button go?

FYI: I've been working on a re-write of math3d (https://github.com/ChristopherChudzicki/math3d-next). I'm unlikely to add this feature to the current site, but am very open to adding it to the re-write. This is more a comment about tinelines, since the re-write is still 6+ months from being finished, unless I'm remarkably productive over some upcoming holidays.