Updated the Matrix effect to look better and look more like that computer science matrix.
New Audio Effect to visualize Audio from Input Device. ( You can use a tool to route audio from playback to input)
[View on youtube here](https://youtu.be/gCfMS76ChLs)
python
from bruhanimate.bruhscreen import Screen
from bruhanimate.bruhrenderer import CenterRenderer
import bruhanimate.images as images
from bruhanimate import _GRADIENTS
import os
os.system(" ")
def audio(screen):
screen.set_title("Audio Effect")
renderer = CenterRenderer(
screen=screen,
img=images.text_to_image("AUDIO EFFECT!"),
frames=float("inf"),
time=0.01,
effect_type="audio",
background=" ",
transparent=False,
)
renderer.effect.set_audio_properties(num_bands=screen.width, audio_halt=5, use_gradient=True)
renderer.effect.set_audio_gradient(gradient=_GRADIENTS[0], mode="repeat")
renderer.effect.set_orientation("bottom")
renderer.update_exit_stats(wipe=True, centered=True)
renderer.run()
def run():
Screen.show(audio)
if __name__ == "__main__":
run()