Skip to content

richzli/fake-word-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fake-word-cloud

demo

it's a word cloud, with fake words and fun physics!

description

generates fake words using a simple markov chain

data compiled using words length 6 or greater from 5000 random wikipedia articles; train data yourself by editing and running data/train.py

displays these fake words prettily using a simple custom physics engine

installation

you need PyOpenGL installed; it only worked for me (windows) after i manually installed the wheels here, install both PyOpenGL and PyOpenGL_accelerate

also install freetype-py and PyGLM

if you are on windows like me (again) you probably also need the freetype dlls, found here; just drop it anywhere in your PATH (straight in this directory works too)

also you can take any font and put it in ./font.ttf; the default is minecraftia, found here

usage

python main.py

About

generates fake words

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages