BiblioPixelAnimations.matrix.kimotion module

class BiblioPixelAnimations.matrix.kimotion.Kimotion(layout, server='localhost:1337', mirror=True, crop=True, shader='Sandstorm', **kwargs)[source]

Bases: bibliopixel.animation.matrix.Matrix

max_depth = 1200.0
shaders = {'Sandstorm': <class 'BiblioPixelAnimations.matrix.kimotion.SandStorm'>}
step(amt=1)[source]
class BiblioPixelAnimations.matrix.kimotion.KimotionShader(anim)[source]

Bases: object

class BiblioPixelAnimations.matrix.kimotion.SandStorm(anim, min_z=440, max_z=1100, near_color=[229, 107, 0], near_z=760, mid_color=[40, 0, 114], far_color=[2, 2, 12], far_z=1100)[source]

Bases: BiblioPixelAnimations.matrix.kimotion.KimotionShader

render(frame)[source]
z_color(z)[source]
BiblioPixelAnimations.matrix.kimotion.clamp(v, _min, _max)[source]
BiblioPixelAnimations.matrix.kimotion.lerp(n, low, high)[source]
BiblioPixelAnimations.matrix.kimotion.rebin(a, shape)[source]
BiblioPixelAnimations.matrix.kimotion.thread_lock()[source]
class BiblioPixelAnimations.matrix.kimotion.ws_thread(server)[source]

Bases: threading.Thread

get_frame()[source]
run()[source]

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

stop()[source]
stopped()[source]