Skip to main content

All Questions

Tagged with
0 votes
1 answer
1k views

How can I do math on my GPU with NumPy in Python?

Wassup! I'm building a rendering engine in Python, and it's been a slow but fun process. I've been using NumPy, and in this previous question, I got some help to speed up the NumPy math to solve for ...
Trevor Carter's user avatar
14 votes
1 answer
1k views

How do I curve text in a polar plot?

How do I curve text in a matplotlib polar plot? In my attempt below, my code rotates each char individually, but doing so would remove the natural spacing of each font. Can somebody describe a ...
user1462442's user avatar
  • 8,222
5 votes
1 answer
3k views

Draw a terrain with python?

I have a numpy 2d-array representing the geometrical height of a specific area where a street will be build. I can visualize this using scipy.misc.toimage. However I would like to get a simple 3D view ...
AME's user avatar
  • 2,609