Skip to main content

pygame transparent vectors - 1.0

A simple lib that can create pygame vectors with alpha transparency.

Luke Endres
A simple lib that can create pygame vectors with a specified amount of transparency. see README.txt for more information. PTV currently supports: - circles - rects - and polygons further releases will have support of ellipses and arcs.


A lib that can easily create pygame vectors with transparency! release 1.0 can currently support transparency with rects, polygons, and circles. enjoy :) Also, when you run, you will probably be averaging about 1 to 0 frames per second. This is because I added a couple for loops, that in turn run 15,000 times a game loop to create those 3 color blended, rounded rectangles. If you don't want those there (and want to get a healthy fps), just comment lines 35 to 45.


Home Page


pygame transparent vectors 1.0 — 9 Aug, 2009

pygame transparent vectors 1.1 — 3 Oct, 2009 account Comments

  • David 2014-01-09 15:05

    Traceback (most recent call last):
    File "/home/matt/", line 7, in <module>
    from ptv import * # import all functions and classes from ptvLIB
    ImportError: No module named ptv