@name Disco Floor
@persist Pixels:array [Owner Entity]:entity

if(first()) {
    Owner=owner()
    Entity=entity()
    
    findByClass("gmod_wire_pixel")
    foreach(I,V:entity=findToArray()) {
        if(V:owner()==Owner) {Pixels:pushWirelink(V:wirelink())}
    }
}

interval(1000)
foreach(I,V:wirelink=Pixels) {
    local Col=hsv2rgb(randint(360),1,0.7)
    V["Red",number]=Col:x()
    V["Green",number]=Col:y()
    V["Blue",number]=Col:z()
}
