Bruhanimate

Latest version: v0.2.49

Safety actively analyzes 630305 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.49

![chat_bot_demo](https://github.com/FNBBDevs/bruhanimate/assets/55725575/90243ce5-25bd-4d88-a737-de3fabcc191d)

What's Changed
* Chatbot Effect by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/64


**Full Changelog**: https://github.com/FNBBDevs/bruhanimate/compare/0.2.33...0.2.49


OpenAI Support
python
from bruhanimate.bruhrenderer import EffectRenderer
from bruhanimate.bruheffects import StarEffect
from bruhanimate.bruhscreen import Screen
from bruhanimate.bruhffer import Buffer
import bruhanimate.images as images
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)


Ollama Support
python
from bruhanimate.bruhrenderer import EffectRenderer
from bruhanimate.bruheffects import StarEffect
from bruhanimate.bruhscreen import Screen
from bruhanimate.bruhffer import Buffer
import bruhanimate.images as images
import openai

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

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

0.2.33

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

0.1.92

What's Changed
* 0.1.92 by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/47


**Full Changelog**: https://github.com/FNBBDevs/bruhanimate/compare/0.1.90...0.1.92

0.1.90

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 https://github.com/FNBBDevs/bruhanimate/pull/45


**Full Changelog**: https://github.com/FNBBDevs/bruhanimate/compare/0.1.83...0.1.90

0.1.83

New `SnowEffect` added to bruhanimate.

What's Changed
* reworked file locations, added requirements.txt by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/2
* reworked file locations, add requirements.txt by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/3
* fixed imports by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/4
* merge by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/5
* Working by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/7
* Merge pull request 7 from ethanlchristensen/working by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/8
* Merge pull request 8 from ethanlchristensen/main by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/9
* Image renderers by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/11
* Added some Unix support, again follows the way ascii matics handles t… by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/12
* Image renderers by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/13
* Began work on the rain effect. work ultimatley halted to due to unece… by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/14
* take back what was sent last commit. Simply passing the image buffer … by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/16
* Image renderers by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/17
* win_demo.py by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/18
* Image renderers by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/19
* del by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/20
* fixed unixscreen 'clear()' error and made a single demo file that wor… by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/21
* demo.py by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/22
* demo.py by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/23
* Licences, Documentation by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/24
* screen header by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/25
* rm by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/26
* header by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/27
* matrix effect, line drawing by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/28
* Ability to add color to noise and if decay is enabled in game of life… by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/29
* reworked bruhscreen so a user only has to import Screen, and not WinS… by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/30
* random print statement by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/31
* line drawing demo, text_to_image function, coloring for plasma effect by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/32
* added plasma customization by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/33
* moved demos by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/34
* bruhcolor was reworked to have an 8-color version. bruhanimate uses b… by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/35
* bruhcolor reworked by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/36
* changes made to bruhcolor by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/37
* Dev by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/41


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

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.