Skip to contents

Serializes and broadcasts a black pixel update to all subscribers

Usage

broadcast_black_pixel(pub_socket, position, walker_id)

Arguments

pub_socket

Publisher socket

position

Vector c(x, y) of black pixel position

walker_id

ID of walker that created the black pixel