That is Factory Balls. Each level hands you a plain ball and a set of tools, and your job is to apply paint and patterns in the right order until the result matches the target design shown to you.
It is a quietly devious puzzle game, because the order of operations is the entire challenge — paint the wrong section first and you have to start over. You will find it on most browser game portals and in mobile app stores under the same name.