Skip to content

Commit

Permalink
Show rotationSteps in the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
timdream committed Dec 19, 2016
1 parent ca4b150 commit 0698fb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ var examples = {
' fontFamily: \'Hiragino Mincho Pro, serif\',\n' +
' color: \'random-dark\',\n' +
' backgroundColor: \'#f0f0f0\',\n' +
' rotateRatio: 0,\n' +
' rotateRatio: 0.5,\n' +
' rotationSteps: 2,' +
' ellipticity: 1,\n' +
' shape: function(theta) {\n' +
' /' + '/ Function for simple shapes can be generated manually with http://timdream.org/wordcloud2.js/shape-generator.html.\n' +
Expand Down Expand Up @@ -133,6 +134,7 @@ var examples = {
' return (weight === 12) ? \'#f02222\' : \'#c09292\';\n' +
' },\n' +
' rotateRatio: 0.5,\n' +
' rotationSteps: 2,' +
' backgroundColor: \'#ffe0e0\'\n' +
'}'
}
Expand Down

0 comments on commit 0698fb2

Please sign in to comment.