Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


CircularAvatars requires exact pixel size #4

schwern opened this Issue · 2 comments

2 participants

Michael G. Schwern Rob
Michael G. Schwern

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(
at processing.core.PImage.mask(
at code_swarm$PersonNode.(
at code_swarm.update(
at code_swarm.draw(
at processing.core.PApplet.handleDraw(

It would be nice if CircularAvatars did not restrict the avatar size.

dwo commented

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.

Michael G. Schwern

It's been so long, I don't remember any details. Sorry.

holzman holzman referenced this issue from a commit in holzman/code_swarm
holzman holzman Fix Issue #4 - Circular Avatar not working with LocalAvatar 6ee8f9a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.