An open API service indexing awesome lists of open source software.

https://github.com/monkeywithacupcake/text-to-image

Simple js canvas method for converting text to an image
https://github.com/monkeywithacupcake/text-to-image

Last synced: 19 days ago
JSON representation

Simple js canvas method for converting text to an image

Awesome Lists containing this project

README

        

# Text To Image

## part of my Tiny Projects on CodePen.io.
You can find this one [on Codepen](https://codepen.io/jessachandler/pen/YOVLxV)
Check out the whole collection of [Tiny Projects](https://codepen.io/collection/XoWbmB/)

... I added a color change feature in [Text to Image - Color Change Codepen](https://codepen.io/jessachandler/pen/bxRpMb)

... I added support for multiple lines in [Text to Image - MultiLine Codepen](https://codepen.io/jessachandler/pen/jvwGOo)

... I added support for a sticker/logo in [Text to Image - Add Image](https://codepen.io/jessachandler/pen/eLERWE)

- and I put a little snippet up on [my Instagram](https://www.instagram.com/p/BnUYcowh1h2/?utm_source=ig_web_button_share_sheet)

## Functionality
Users can enter text in a text box and an image is created.

The image is created with a dark background (`#212121`) and text in a gradient that goes to white.
![example image](/images/testimage.png)

## Using
* vanilla js
* canvas
* pug
* scss