I have no idea how they do this, but it always seems that each chrysalis begins to colour the day before, then during the morning of the next day the butterfly emerges in time to dry it's wings well and then fly off to its butterfly life in the afternoon.
I'll report back to you, on progress and hopefully a butterfly photo, tomorrow.