π simulator