creating a flask web app for an interactive canvas editor