Edit: I think I was only able to somewhat replicate the pink soap in the OP and not the blue one, so this is probably not the actual way of doing it, sorry. :(((
Hello, in case anyone is still interested in this, I was able to test this theory recently and I think it is correct.
The whirlwind...