[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.])

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