I made a cup and used a program called VelocityPainting to project a graphic on the object.
You can find the software here: http://www.velocitypainting.xyz/
I am posting the Gcode for those that don't want to process an object right away but rather see a coded example on the printer first.
This example is made for the Anet A6/A8. It will print at either 10mm/s (black portions) or 30mm/s (white portions), in vase mode at a layer height of 0.2mm, a wall thickness of 0.8mm and bottom layer of 1.2mm.
The Gcode is intended to be used with PLA and extruder is set to 195°C. Bed temperature is set to 55°C.
Note that you might have to edit the Start-Code to accommodate your printer setup!
To set the temperatures you will need to change these lines with any simple text editor:
M190 S55 ; Set Bed Temperature (default 55°C)
M104 T0 S195 ; Set Extruder Temperature (default 195°C)
M109 T0 S195 ; Set Extruder Temperature and Wait (default 195°C)
For best possible print results you may want to use this cooler if you have an Anet A8 printer: http://www.thingiverse.com/thing:2121279
Let me know how it turned out.
Enjoy!
Leo
I've also included the .STL file if you want to use other patterns for testing.
Update 2017.05.19
Some people requested a thicker bottom layer. I've changed it to 1.2mm.