rdeits / MeshCat.jl

WebGL-based 3D visualizer in Julia
MIT License
233 stars 43 forks source link

Can I use MeshCat.jl interact with dat.GUI elements? #192

Open PikaPei opened 3 years ago

PikaPei commented 3 years ago

Hi, I try to write some dat.GUI elements. I want to know if I can access them in Julia? Or I can only write functions in JavaScript? For example, could I type the filename in the dat.GUI text box and use it to load *.obj file in Julia?

// add in src/index.js => class Viewer

let params = {
    obj_file: "example.obj"
}
this.gui.add(params, "obj_file").name("Load obj");

Thank you!