Hero image

Sprial Texture

What the code does

Shows you how to define a texture in PTB, in this case a spiral. Then draw it to multiple positions on the screen simultaneously, whilst also modulating each drawn textures colour using PTB functionality i.e., we create a single texture but colour it in the drawing call.

Visualisation

The code

Instagram image Instagram image Instagram image Instagram image Instagram image Instagram image