simulation in graphic