Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loopystudios/chat_bubbles
Chat bubble SVG generator
https://github.com/loopystudios/chat_bubbles
Last synced: 24 days ago
JSON representation
Chat bubble SVG generator
- Host: GitHub
- URL: https://github.com/loopystudios/chat_bubbles
- Owner: loopystudios
- Created: 2023-06-30T19:49:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-26T04:14:43.000Z (8 months ago)
- Last Synced: 2024-11-08T11:42:16.540Z (3 months ago)
- Language: Rust
- Size: 14.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chat Bubbles
Usage:
```rs
let text_width: f32 = 50.0;
let text_height: f32 = 75.0;
let svg: String = chat_bubbles::create(text_width, text_height);
```Notes:
- Due to padding and rounding currently being hardcoded, overlay your text relative the center of the svg's canvas.
![Example Bubble](example.svg)