Popular recipes tagged "meta:requires=pygame.locals"http://code.activestate.com/recipes/tags/meta:requires=pygame.locals/2004-11-07T23:38:22-08:00ActiveState Code RecipesA Sinus Plasma, using Pygame (Python)
2004-11-07T23:38:22-08:00S Whttp://code.activestate.com/recipes/users/1759688/http://code.activestate.com/recipes/334696-a-sinus-plasma-using-pygame/
<p style="color: grey">
Python
recipe 334696
by <a href="/recipes/users/1759688/">S W</a>
(<a href="/recipes/tags/graphics/">graphics</a>).
</p>
<p>An old-school demo effect, using sine wave interference patterns. Entertaining for at least a few minutes :)</p>
<p>Modify the freq variable for different patterns.</p>
OpenGL TTF (TrueType Font) FPS (Frames Per Second) example (Python)
2002-02-20T12:23:39-08:00Nelson Rushhttp://code.activestate.com/recipes/users/144881/http://code.activestate.com/recipes/115418-opengl-ttf-truetype-font-fps-frames-per-second-exa/
<p style="color: grey">
Python
recipe 115418
by <a href="/recipes/users/144881/">Nelson Rush</a>
.
</p>
<p>An OpenGL example in Python using PyOpenGL and PyGame modules to render a spinning triangle while the FPS (Frames Per Second) is displayed in the upper right hand corner using a TrueType font.</p>