DEV Community

0xkoji
0xkoji

Posted on

1

Generate Word Cloud Art with One Line Command

Recently, I've tried to create a python package and last night I released a new one, wcartist.

What wcartist can do is to generate a word cloud artistic image with one line command.

The steps you need are really simple.

  1. Install wcartist
  2. Get an image for word cloud. There is one thing you have to follow is that right now wcartist only works with black & white image like the following.

sample

  1. Create a text file. Of course we need some text to create a word cloud

  2. Run command

This case is using text about facebook from Wikipedia.
test

details
https://github.com/koji/wcartist

As I mentioned, right now wcartist only supports a black & white image, but in the future, wcartist will support any types of images.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay