P5JS Canvas Serialization/DeSerialization for Streaming like fabricJS fabric.Canvas#toJSON

Are there library functions to stream Canvas contents as text strings of P5JS functions/Data(Objects) rather than mouseX,mouseY locations on canvas. Is there an equivalent function in P5JS like the one in fabricJS fabric.Canvas#toJSON and fabric.Canvas#loadFromJSON. http://fabricjs.com/fabric-intro-part-3

Sign In or Register to comment.