Skip to content

Releases: FNBBDevs/bruhanimate

Fireworks!

02 Nov 07:17
9dd5f85
Compare
Choose a tag to compare

Added fireworks effect and it's corresponding demo.

It can be ran with the following:

from bruhanimate import firework_demo
firework_demo.run()

What's Changed

Full Changelog: 0.2.69...0.2.74

0.2.69

13 Oct 21:02
94341b8
Compare
Choose a tag to compare

What's Changed

Updated snow_effect, split apart different components into separate files.

Full Changelog: 0.2.64...0.2.69

0.2.64

24 Aug 05:30
661bdfd
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.2.49...0.2.64

Refactored the package. Renderers and Effects are seperated out into seperate files. Audio effect only eleigible for windows systems.

0.2.49

12 May 07:28
85f9c85
Compare
Choose a tag to compare

chat_bot_demo

What's Changed

Full Changelog: 0.2.33...0.2.49

OpenAI Support

from bruhanimate.bruhrenderer import EffectRenderer
from bruhanimate.bruhscreen import Screen
import openai

def chat(screen: Screen):
    . . . 
    client = openai.OpenAI(
        api_key="<openai-api-key>"
    )
    renderer.effect.set_chatbot_properties(interface="openai", model="gpt-3.5-turbo", user="Ethan", client=client)
    . . .

if __name__ == "__main__":
    Screen.show(chat)

Azure OpenAI Support

from bruhanimate.bruhrenderer import EffectRenderer
from bruhanimate.bruhscreen import Screen
import openai

def chat(screen: Screen):
    . . . 
    client = AzureOpenAI(
        api_key="<azure-openai-key>",  
        api_version="<azure-openai-version>",
        azure_endpoint="<azure-openai-endpoint>"
    )
    renderer.effect.set_chatbot_properties(interface="openai", model="gpt-3.5-turbo", user="Ethan", client=client)
    . . .

if __name__ == "__main__":
    Screen.show(chat)

Ollama Support

from bruhanimate.bruhrenderer import EffectRenderer
from bruhanimate.bruhscreen import Screen

def chat(screen: Screen):
    . . . 
    renderer.effect.set_chatbot_properties(interface="ollama", model="llama3", user="Ethan")
    . . .

if __name__ == "__main__":
    Screen.show(chat)

Updated Matrix Effect, New Audio Effect

01 Apr 00:34
a91455e
Compare
Choose a tag to compare

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

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()

Demos Bug Fixed

21 Nov 03:38
890b7b1
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.1.90...0.1.92

More Demos + Infinite Runs

21 Nov 03:03
1a1fd27
Compare
Choose a tag to compare

What's Changed

  • More Demos:

    • line_demo
    • plasma_demo (was previously demo)
    • snow_demo
    • holiday
  • Infinite Runs with float("inf") as a frame value

  • 0.1.90 by @ethanlchristensen in #45

Full Changelog: 0.1.83...0.1.90

Holiday Update

20 Nov 01:28
Compare
Choose a tag to compare

New SnowEffect added to bruhanimate.

What's Changed

Full Changelog: https://github.com/FNBBDevs/bruhanimate/commits/0.1.83