Photolithography allows the fabrication of a solid polymer object through polymerization of a monomer resin by means of a laser source guided according to the data of computer aided design. However, one drawback of this method is the inaccuracy of the dimensions of the objects related to the shrinkage phenomenon which depends on the polymerization, on the laser flux and on the used sweeping procedure. In this paper, the deformation of an isolated voxel (elementary volume) or a voxel interacting with its neighbor is described. This simulation is based on a kinetic model that takes into account the gel effect and a model of volumetric variation due to the difference of the length of the bonds between the monomer and polymer molecules.