在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/網(wǎng)絡(luò)安全  HTML/ wordcloud2.js可以指定詞云的形狀嗎

wordcloud2.js可以指定詞云的形狀嗎

需要畫一個人形的詞云,搜完之后發(fā)現(xiàn)wordcloud2 R語言可以有接口指定,但是沒有找到j(luò)s如何指定詞云形狀,在github上看了文檔,shape的描述如下:
shape: The shape of the "cloud" to draw. Can be any polar equation represented as a callback function, or a keyword present. Available presents are circle (default), cardioid (apple or heart shape curve, the most known polar equation), diamond, square, triangle-forward, triangle, (alias of triangle-upright, pentagon, and star.
這邊的polar equation我不太懂,想請問一下,如果可以指定詞云形狀,應(yīng)該怎么調(diào)

回答
編輯回答
吢涼

參考官方栗子

還有一個官方提供的生成器

2017年9月16日 14:19