Doodles in php