function handleColor(evt)
    {
        let groupName = groupSelect.querySelector('select').value;
        let colorWellText = colorWell.parentNode.querySelector('label').textContent;
        colorWellText = evt.target.value + " : ";

        const modelInfo = visualizers[getCurrentActive()];
        for (const group of modelInfo.animation.groups) {
            if (group.name == groupName) {
                group.color = colorWellText.substring(0,colorWellText.length-3);
            }
        }

        activeVisualizer.changeColor(groupName, evt.target.value);
    }
/* ------------------------------------------------------------------------
     * handleColor:
     * ------------------------------------------------------------------------
     * param evt - Javascript evt
     *
     * Takes the current model name and passes that to the changeColor function
     * in addition to the current hex value.
     */


param evt - Javascript evt

Takes the current model name and passes that to the changeColor function
in addition to the current hex value.
param evt - Javascript evt Takes the current model name and passes that to the changeColor function in addition to the current hex value .
function handleColor(evt)
    {
        let groupName = groupSelect.querySelector('select').value;
        let colorWellText = colorWell.parentNode.querySelector('label').textContent;
        colorWellText = evt.target.value + " : ";
        const modelInfo = visualizers[getCurrentActive()];
        for (const group of modelInfo.animation.groups) {
            if (group.name == groupName) {
                group.color = colorWellText.substring(0,colorWellText.length-3);
            }
        }
        activeVisualizer.changeColor(groupName, evt.target.value);
    }
function handleColor ( evt ) { let groupName = groupSelect . querySelector ( 'select' ) . value ; let colorWellText = colorWell . parentNode . querySelector ( 'label' ) . textContent ; colorWellText = evt . target . value + " : " ; const modelInfo = visualizers [ getCurrentActive ( ) ] ; for ( const group of modelInfo . animation . groups ) { if ( group . name == groupName ) { group . color = colorWellText . substring ( 0 , colorWellText . length - 3 ) ; } } activeVisualizer . changeColor ( groupName , evt . target . value ) ; }
handleColor:
handleColor :