danmarshall / jscad-now

🧱👀 Instantly view a jscad V2 module while coding
MIT License
22 stars 6 forks source link

Gestures #6

Open z3dev opened 3 years ago

z3dev commented 3 years ago

This is nice and clean, and easy to understand. 👍 Thanks for putting this together.

But the use of most gestures really makes a mess. Anyway to use something else like React based gestures, etc?

danmarshall commented 3 years ago

@z3dev I started with a copy of what I found in the jscad repo here: https://github.com/jscad/OpenJSCAD.org/blob/V2/packages/web/src/ui/views/viewer.js

Is there a better implementation somewhere? I didn't rewrite anything, just re-organized the code into bite-sized modules. Happy to use whatever works best.