Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Uproot from the source of the page. You open the example in a new window, you find it in html <script type="module">
, it will contain the guis object
var guis = {
// ....
IcosahedronGeometry: function ( mesh ) {
var data = {
radius: 10,
detail: 0
};
function generateGeometry() {
updateGroupGeometry( mesh,
new IcosahedronGeometry(
data.radius, data.detail
)
);
}
var folder = gui.addFolder( 'THREE.IcosahedronGeometry' );
folder.add( data, 'radius', 1, 20 ).onChange( generateGeometry );
folder.add( data, 'detail', 0, 5 ).step( 1 ).onChange( generateGeometry );
generateGeometry();
},
// ....
}
Here you follow your own link and at the bottom there is a link to the source code on the github, is that not it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question