function handleTransparency(evt)
    {
        let groupName = groupSelect.querySelector('select').value;
        // Save local value of transparency to be applied when group is selected
        const modelInfo = visualizers[getCurrentActive()];
        for (const group of modelInfo.animation.groups) {
            if (group.name == groupName) {
                group.transparency = transparency.value;
            }
        }
        // Do the actual change
        activeVisualizer.changeTransparency(groupName, parseFloat(evt.target.value));
        transVal.value = parseFloat(evt.target.value)
    }
/* ------------------------------------------------------------------------
     * handleTransparency
     * ------------------------------------------------------------------------
     * param evt - Javascript event
     *
     * Takes the current model name and passes that to the changeTransparency function
     * in addition to the current transparency value.
     */
handleTransparency

param evt - Javascript event

Takes the current model name and passes that to the changeTransparency function
in addition to the current transparency value.
handleTransparency param evt - Javascript event Takes the current model name and passes that to the changeTransparency function in addition to the current transparency value .
function handleTransparency(evt)
    {
        let groupName = groupSelect.querySelector('select').value;
        const modelInfo = visualizers[getCurrentActive()];
        for (const group of modelInfo.animation.groups) {
            if (group.name == groupName) {
                group.transparency = transparency.value;
            }
        }
        activeVisualizer.changeTransparency(groupName, parseFloat(evt.target.value));
        transVal.value = parseFloat(evt.target.value)
    }
function handleTransparency ( evt ) { let groupName = groupSelect . querySelector ( 'select' ) . value ; const modelInfo = visualizers [ getCurrentActive ( ) ] ; for ( const group of modelInfo . animation . groups ) { if ( group . name == groupName ) { group . transparency = transparency . value ; } } activeVisualizer . changeTransparency ( groupName , parseFloat ( evt . target . value ) ) ; transVal . value = parseFloat ( evt . target . value ) }
handleTransparency
handleTransparency
// Save local value of transparency to be applied when group is selected // Do the actual change