Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproducible clouds #81

Merged
merged 10 commits into from
Jun 25, 2015
Merged

Reproducible clouds #81

merged 10 commits into from
Jun 25, 2015

Conversation

cesine
Copy link
Owner

@cesine cesine commented Jun 25, 2015

Added some tests for different use cases of reproducible clouds that i found others had asked for.

  • As a user I want to be able to remove words and see roughly the same cloud
in this example the word 'roughly' has been removed but all other words stay put 
upon re-render because
1. the draw function saves color and transform on the word

screen shot 2015-06-24 at 7 01 52 pm

in this example the same text is drawn the same because 
1. the draw function saves color and transform on the word
2. a random generator is used with the same seed now that we have various PRs requests implemented in 1.1.x 

screen shot 2015-06-24 at 7 02 00 pm

in this example a stringified json is used to supply the words and they are drawn the same on every load because 
1. the draw function saves color and transform on the word

screen shot 2015-06-24 at 8 05 58 pm

screen shot 2015-06-24 at 8 07 44 pm

screen shot 2015-06-24 at 10 57 50 pm

cesine added a commit that referenced this pull request Jun 25, 2015
@cesine cesine merged commit 6850909 into master Jun 25, 2015
@cesine cesine deleted the reproducibleClouds branch June 25, 2015 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant