mirror of
https://github.com/simon-brooke/clj-wordcloud.git
synced 2026-01-13 14:49:53 +00:00
Initial commit with the API and files
This commit is contained in:
parent
2fffddcd53
commit
48f5ddc293
12 changed files with 157 additions and 0 deletions
7
examples/examples.clj
Normal file
7
examples/examples.clj
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(ns examples
|
||||
(:require '[clj-wordcloud.core :refer :all]))
|
||||
|
||||
(let [frequency-map (zipmap (range 100 130) (range 300))]
|
||||
(word-cloud frequency-map
|
||||
{:background {:type :circle :size 300}
|
||||
:filename "sample.png" :font-y 100 :padding 10}))
|
||||
BIN
examples/sample.png
Normal file
BIN
examples/sample.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 50 KiB |
Loading…
Add table
Add a link
Reference in a new issue