How to use the tweakpane function in tweakpane

To help you get started, we’ve selected a few tweakpane examples, based on popular ways it is used in public projects.

github pissang / paper-quilling-art / src / offlineRender.js View on Github external
roughness: 1,
        color: new THREE.Color(e.data.plane.color[0], e.data.plane.color[1], e.data.plane.color[2]),
    }));
    // ground.material.shadowCatcher = true;
    ground.scale.set(100, 100, 1);
    scene.add(ground);

    init();
});

function updateComposer() {
    sharpenPass.uniforms.sharpness.value = renderConfig.sharpness;
    composer.render();
}

const pane = new Tweakpane({
    container: document.querySelector('#config'),
    title: 'Render Config'
});
pane.addButton({
    title: 'Stop Render'
}).on('click', () => {
    stopRender();
});

// const denoiseFolder = pane.addFolder({
//     title: 'Denoise'
// });
// denoiseFolder.addInput(renderConfig, 'denoise', {
//     label: 'Enable'
// }).on('change', () => {
//     denoiserPasses.forEach(pass => {

tweakpane

A compact pane for fine-tuning parameters and monitoring value changes

MIT
Latest version published 3 months ago

Package Health Score

74 / 100
Full package analysis

Popular tweakpane functions

Similar packages