[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Native PyGame method for automatically scaling inputs to a surface resolution?



I wrote a quick demo, using numpy for vectors.
    velocity = numpy.array([10., 30.])
    http://code.google.com/p/ninmonkey/source/browse/boilerplate/pygame/4.%20with%20numpy%20for%20array/boilerplate%20-%20pygame_with_numpy-2011_jake.py

Euclid is python only, which means you don't need to install anything,
however, its slower. But its fast enough.

see also: http://www.scipy.org/Numpy_Example_List_With_Doc

On Sat, Sep 24, 2011 at 3:04 PM, Mac Ryan <quasipedia@xxxxxxxxx> wrote:
>
> No, since I don't have to do very complex or loads of operations I went
> with euclid... but I'd be interested in knowing if you have suggestions
> involving numpy, nevertheless.
>
> /mac



--
Jake