Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #72

Merged
merged 6 commits into from
Oct 13, 2024
Merged

Dev #72

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions bruhanimate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from .bruhutil import (
Screen,
Buffer,
images,
bruhimage,
get_image,
text_to_image,
LIFE_COLORS,
Expand All @@ -45,15 +45,11 @@
GREY_SCALES,
WIND_DIRECTIONS,
NOISE,
FLAKES,
FLAKE_COLORS,
FLAKE_JUMPS,
NEXT_FLAKE_MOVE,
SNOWFLAKE_COLORS,
FLAKE_WEIGHT_CHARS,
FLAKE_FLIPS,
TWINKLE_COLORS,
FLAKES,
VALID_INTERFACES,
SNOWFLAKE_TYPES
)

from .bruhrenderer import (
Expand Down Expand Up @@ -82,7 +78,7 @@
)


__version__ = "0.2.65"
__version__ = "0.2.69"
__valid_demos__ = [
"static_demo",
"offset_demo",
Expand Down Expand Up @@ -144,7 +140,7 @@
"PanRenderer",
"FocusRenderer",
"BackgroundColorRenderer",
"images",
"bruhimage",
"__version__",
"__valid_demos__",
"LIFE_COLORS",
Expand All @@ -157,12 +153,9 @@
"GREY_SCALES",
"WIND_DIRECTIONS",
"NOISE",
"FLAKES",
"FLAKE_COLORS",
"FLAKE_JUMPS",
"NEXT_FLAKE_MOVE",
"SNOWFLAKE_COLORS",
"SNOWFLAKE_TYPES",
"FLAKE_WEIGHT_CHARS",
"FLAKE_FLIPS",
"TWINKLE_COLORS",
"VALID_INTERFACES",
"get_image",
Expand Down
71 changes: 46 additions & 25 deletions bruhanimate/bruheffect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,53 @@
from .snow_effect import SnowEffect
from .twinkle_effect import TwinkleEffect, TWINKLE_SPEC
from .offset_effect import OffsetEffect
from .rain_effect import RainEffect
from .rain_effect import RainEffect
from .noise_effect import NoiseEffect


__all__ = [
"BaseEffect",
"StaticEffect",
"StarEffect",
"ChatbotEffect",
"DrawLinesEffect",
"GameOfLifeEffect",
"MatrixEffect",
"PlasmaEffect",
"SnowEffect",
"TwinkleEffect",
"OffsetEffect",
"RainEffect",
"NoiseEffect",
"GradientNoise",
"Loading",
"StringStreamer",
"Key",
"Line",
"TWINKLE_SPEC"
]

if sys.platform == 'win32':
if sys.platform == "win32":
from .audio_effect import AudioEffect
__all__.append("AudioEffect")
__all__ = [
"BaseEffect",
"AudioEffect",
"StaticEffect",
"StarEffect",
"ChatbotEffect",
"DrawLinesEffect",
"GameOfLifeEffect",
"MatrixEffect",
"PlasmaEffect",
"SnowEffect",
"TwinkleEffect",
"OffsetEffect",
"RainEffect",
"NoiseEffect",
"GradientNoise",
"Loading",
"StringStreamer",
"Key",
"Line",
"TWINKLE_SPEC",
]
else:
__all__ = [
"BaseEffect",
"StaticEffect",
"StarEffect",
"ChatbotEffect",
"DrawLinesEffect",
"GameOfLifeEffect",
"MatrixEffect",
"PlasmaEffect",
"SnowEffect",
"TwinkleEffect",
"OffsetEffect",
"RainEffect",
"NoiseEffect",
"GradientNoise",
"Loading",
"StringStreamer",
"Key",
"Line",
"TWINKLE_SPEC",
]
Loading
Loading