better React integration, but I have to figure out how to update the graph live using dat.gui