Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

0xkoji
0xkoji

Posted on

     

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 nowwcartist only supports a black & white image, but in the future,wcartist will support any types of images.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Never lose curiositySoftware Engineer at a startuptypescript, javascript, react, and python.code to do something weird/helpfullearning rust as a new journey 😎#genai #mediaart #art #hardware
  • Location
    Brooklyn in the United States and Tokyo in Japan
  • Education
    New York University
  • Pronouns
    he/him/his
  • Work
    Software Engineer
  • Joined

More from0xkoji

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp