This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Immutable | |
const COLOR_ARRAY = ['#CC231E', '#0F8A5F', '#F8D54C', '#C0C0C0', '#405685'] | |
const MUSIC_ELEMENT_ID = 991 | |
const mySong = new Audio("https://cdn.pixabay.com/download/audio/2022/12/06/audio_eeecf6c32f.mp3?filename=we-wish-you-a-merry-christmas-128367.mp3"); | |
const image = new WebImage("https://miro.medium.com/max/256/1*xBsr6BcIR71gq8xMbJ67nw.png") | |
// Mutable | |
var currentColor = Color.BLACK | |
var isPlaying = false |
OlderNewer