presets
This commit is contained in:
parent
950e76e408
commit
5c14542a6c
1 changed files with 24 additions and 0 deletions
|
@ -3,6 +3,7 @@ import pygame as pg
|
|||
from typing import List
|
||||
|
||||
from random import choice, randint
|
||||
from effects.crazypolys import CrazyPolys
|
||||
from effects.drops import Drops
|
||||
from effects.effect import Effect, color_darken, color_randomize, color_wheel, Colors
|
||||
from effects.bouncingspot import BouncingSpot
|
||||
|
@ -11,6 +12,7 @@ from effects.moonflower import Moonflower
|
|||
from effects.movingwave import MovingWave
|
||||
from effects.rotatingpoly import RotatingPoly
|
||||
from effects.scanreticle import ScanReticle
|
||||
from effects.spiro import Spiro
|
||||
from effects.starfield import Starfield
|
||||
|
||||
|
||||
|
@ -176,3 +178,25 @@ class Presets:
|
|||
y_factor=(0.2, 1),
|
||||
)
|
||||
]
|
||||
|
||||
def Spiro(self) -> List[Effect]:
|
||||
return [
|
||||
Spiro(
|
||||
bounds=self.bounds,
|
||||
color=color_wheel(increase=2),
|
||||
sizes=(self.bounds.height, self.bounds.height),
|
||||
velocity=(0.1, 0.4),
|
||||
y_factor=(0.5, 1.5),
|
||||
),
|
||||
]
|
||||
|
||||
def CrazyPolys(self) -> List[Effect]:
|
||||
return [
|
||||
CrazyPolys(
|
||||
bounds=self.bounds,
|
||||
color=color_wheel(increase=2),
|
||||
sizes=(self.bounds.height, self.bounds.height),
|
||||
velocity=(0.1, 0.4),
|
||||
y_factor=(0.5, 1.5),
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue