Pixel art rendering with Cycles or Freestyle

I’ve seen this amazing shader done in Unity3D and i was trying to do something similar in Blender:

http://pixelation.org/index.php?topic=18842.0

Does anyone know if this is possible or has been done before?

Use an orthographic camera, reduce dimensions of scene. Turn off anti-aliasing and turn on Freestyle (although it may do anti-aliasing). Alternatively you could potentially render out with antialiasing at reasonable resolution, then use the compositor and use pixelate node https://blender.stackexchange.com/questions/41452/how-to-make-pixelated-censor-effect

Thank you for the help. Is there any tool to control color grading or palletization?