Not sure what an echomesh does. 'array of noisy, reactive little computers' sounds very promising but covers a lot of ground. Is it anything to do with psych o delic circus. If so this might be interesting to you (or probably not!) https://www.youtube.com/watch?v=HrDFpDNN2cw my attempt at on the fly composition plus synth from an atmega32 (pin output basically stuck directly onto jack plug).Tom Swirly wrote:I btw have my echomesh program whizzing, spinning and expanding images now, so I'm a Happy Camper(tm).
This did crop up before. At the moment it doesn't work as the required libraries aren't there for arm opengl (on the laptop and PC I tried it on, for obvious reasons) It might be possible to put in a test for processor type and load the appropriate ones at that stage. It would be really nice if this could be the case but I'm not very sure. However I arrived at the pi3d thread after struggling for a while to get panda3d running on the rPi. In my opinion this would still be an ideal solution but it's a bit of monstrous chunk of code and pi3d seemed to be pretty well working.Forrrge wrote:will it be at some point be possible to use the module on Linux, Windows and Macs, so any code will be compatible across the systems?
James, following a suggestion elsewhere to use Pi3D just for the 2D graphics to make a simple pong game I thought it wouldn't actually be any (aka much) harder to make a 3D version using the elevation map class. Here's the result of not much work http://youtu.be/R03QLvFwU3g and shows very obviously how the elevation is created from the image. There is also a bit of useful code for working out the normal at a point on the map and how to do the vector arithmetic for reflection. These could well be added to pi3d.py as a method of the elevation map. The collision testing is a bit approximate but I suppose that this could too be improved then added as a callable method. I've committed the code hereJamesR wrote:Thanks for the tip about the forest walk Paddy, hopefully I can get some time to sort through it.
Oh, if you use a simple installation scheme then you can either install it automatically, or just drag the code into your own codebase and use it that way if you like, Python's very flexible that way.Kind of related to that; I know what you mean about the tidyness of the more standard apt-get install approach. However, as I am pondering my third or fourth SD card 'upgrade' to operating system I can see the attraction of being able to just copy ~/ with a usb stick without having to remember all the packages I have added (probably possible to extract it from dpkg but I don't know how)
Code: Select all
Well, this is more to do with finding one Python file from within another.Basically then if you create subdirectory, you can place your files in there and using the empty files, the files will launch?
Code: Select all
The ugly, poorly-formatted code that does something completely trumps the beautiful code that doesn't.Tim's original code was adapted from lots of places with copy and pasting so there are random tabs and spaces (and trailing spaces as you noticed).