Releases: FNBBDevs/bruhanimate
Fireworks!
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
- Dev by @ethanlchristensen in #75
Full Changelog: 0.2.69...0.2.74
0.2.69
What's Changed
- Dev by @ethanlchristensen in #71
- Dev by @ethanlchristensen in #72
- Dev by @ethanlchristensen in #73
- Update README.md by @ethanlchristensen in #74
Updated snow_effect, split apart different components into separate files.
Full Changelog: 0.2.64...0.2.69
0.2.64
What's Changed
- Dev by @ethanlchristensen in #65
- refactor by @ethanlchristensen in #66
- Dev by @ethanlchristensen in #67
- version bump by @ethanlchristensen in #68
- Dev by @ethanlchristensen in #70
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
What's Changed
- Chatbot Effect by @ethanlchristensen in #64
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
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)
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
More Demos + Infinite Runs
What's Changed
-
More Demos:
line_demo
plasma_demo
(was previouslydemo
)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
New SnowEffect
added to bruhanimate.
What's Changed
- reworked file locations, added requirements.txt by @ethanlchristensen in #2
- reworked file locations, add requirements.txt by @ethanlchristensen in #3
- fixed imports by @ethanlchristensen in #4
- merge by @ethanlchristensen in #5
- Working by @ethanlchristensen in #7
- Merge pull request #7 from ethanlchristensen/working by @ethanlchristensen in #8
- Merge pull request #8 from ethanlchristensen/main by @ethanlchristensen in #9
- Image renderers by @ethanlchristensen in #11
- Added some Unix support, again follows the way ascii matics handles t… by @ethanlchristensen in #12
- Image renderers by @ethanlchristensen in #13
- Began work on the rain effect. work ultimatley halted to due to unece… by @ethanlchristensen in #14
- take back what was sent last commit. Simply passing the image buffer … by @ethanlchristensen in #16
- Image renderers by @ethanlchristensen in #17
- win_demo.py by @ethanlchristensen in #18
- Image renderers by @ethanlchristensen in #19
- del by @ethanlchristensen in #20
- fixed unixscreen 'clear()' error and made a single demo file that wor… by @ethanlchristensen in #21
- demo.py by @ethanlchristensen in #22
- demo.py by @ethanlchristensen in #23
- Licences, Documentation by @ethanlchristensen in #24
- screen header by @ethanlchristensen in #25
- rm by @ethanlchristensen in #26
- header by @ethanlchristensen in #27
- matrix effect, line drawing by @ethanlchristensen in #28
- Ability to add color to noise and if decay is enabled in game of life… by @ethanlchristensen in #29
- reworked bruhscreen so a user only has to import Screen, and not WinS… by @ethanlchristensen in #30
- random print statement by @ethanlchristensen in #31
- line drawing demo, text_to_image function, coloring for plasma effect by @ethanlchristensen in #32
- added plasma customization by @ethanlchristensen in #33
- moved demos by @ethanlchristensen in #34
- bruhcolor was reworked to have an 8-color version. bruhanimate uses b… by @ethanlchristensen in #35
- bruhcolor reworked by @ethanlchristensen in #36
- changes made to bruhcolor by @ethanlchristensen in #37
- Dev by @ethanlchristensen in #41
Full Changelog: https://github.com/FNBBDevs/bruhanimate/commits/0.1.83