vispy.visuals.collections.raw_point_collection module#

Raw Point Collection

This collection provides very fast points. Output quality is ugly so it must be used at small size only (2/3 pixels). You’ve been warned.

class vispy.visuals.collections.raw_point_collection.RawPointCollection(user_dtype=None, transform=None, vertex=None, fragment=None, **kwargs)#

Bases: Collection

Raw Point Collection

This collection provides very fast points. Output quality is ugly so it must be used at small size only (2/3 pixels). You’ve been warned.

append(P, itemsize=None, **kwargs)#

Append a new set of vertices to the collection.

For kwargs argument, n is the number of vertices (local) or the number of item (shared)

Parameters:
Pnp.array

Vertices positions of the points(s) to be added

itemsize: int or None

Size of an individual path

colorlist, array or 4-tuple

Path color