A perfunctory post about processors and Peter's Penguins Puzzle

10th of September 2012 by liz
submit to reddit

Buy one processor, get 48 free!

As well as an ARM processor, the Raspberry Pi’s system on a chip (SoC) also contains 48 extra processors optimised for the calculations involved in 3d graphics.

As an example of how to use these processors on the Raspberry Pi, Peter de Rivaz (an old and revoltingly clever friend of ours, who has been doing Raspberry Pi development work in his spare time) has written a charityware 3d physics puzzler, using them to draw dynamic clouds, shadows, water reflections, and lots and lots of penguins.

Penguins Puzzle screengrab

Visit penguinspuzzle.appspot.com for instructions on installing this game on the Raspian “wheezy” OS, or to play a WebGL version in your browser if you haven’t got a Pi yet.

The source code is freely available on github if you want to have a go at writing your own 3d game. If you do, let us know about it – we’d love to see what you come up with!

 

 

Buy a Pi!

buyapi

buypiswag
News Archives

Supported by


In the forums
  • nickneubrand, 5 minutes ago: CSI camera module • Raspivid Pygame Stream
    Hey,Does anyone know what the camera is labeled, when regarding its device name. When you use code in pygame to access a camera you use:cam = pygame.camera.Camera("/dev/video0", (640,480))The problem is /dev/video0 doesn't work. Is there another label that I can…
  • zog, 11 minutes ago: Other languages • Re: Flumoxed - C To Pascal code conversion
    Nope I forget to mention I ran this code under root. I allocated memory because that is what Gert does in his code. I checked a valid file handle was passed. The last error returns 22 which is invalid argument…
  • Aloshi, 43 minutes ago: Gaming • Re: RetroPie Setup - Auto-installer/updater for RetroArch ga
    TryCode: amixer cset numid=3 1to set the ALSA device to the headphone jack.(Taken from here)
  • nomads, 53 minutes ago: Deutsch • Re: compile source-code mit wiringPiI2c.h
    hallo,vielen dank fuer eure antworten.ist mein fehler im posting:selbstverstaendlich heisst es:#include <wiringPi.h>#include <wiringPiI2C.h>zu:Stimmt denn der pfad zur library? Ist das alles im selben ordner?-> das check ich heute noch. vielen dank,die frage: kann ich 2 verschiedene Versionen von wiringPi benutzen?oder…
  • mracine923, 1 hour ago: Graphics, sound and multimedia • Play a sound from a browser command
    I'm new at this (just got this today) so please bear with me...I'm trying to figure out how to send an HTML command to the R.P. to run a command. I can play a sound file by running this command...sudo…

On Twitter
  • make, 11 hours ago
    Questions for @Raspberry_Pi's Eben Upton about the future of the Pi? Tweet to @MattRichardson, who'll be talking w/ him at 4pm! #MakerFaire Sebastopol, CA - USA
  • Raspberry_Pi, 9 hours ago
    Jim Manley where are you? We're back in the cafe from last time... Cambridge, UK
  • Raspberry_Pi, 15 hours ago
    If you see Eben and me walking around at #MakerFaire today, come and grab us to get a free sticker! (Not available in shops!) Cambridge, UK
  • simonmonk2, 15 hours ago
    I am talking about @Raspberry_Pi Robot project on the Make Electronics stage - 1:30 Sat and 2pm Sun at the Bay Area @makerfaire

Friends of Pi