code_swarm
code_swarm copied to clipboard
CircularAvatars requires exact pixel size
Using CircularAvatars and a 1x1 black default.png (to make it effectively invisible) I got:
Exception in thread "Animation Thread" java.lang.RuntimeException: The PImage used with mask() must be the same size as the applet.
at processing.core.PImage.mask(PImage.java:599)
at processing.core.PImage.mask(PImage.java:614)
at code_swarm$PersonNode.
It would be nice if CircularAvatars did not restrict the avatar size.
Do you know what the exact pixel size is? I get this when I set the config to LocalAvatars, even if I only leave the provided default.png in there.
It's been so long, I don't remember any details. Sorry.