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

Random must be imported (2.0.3, Linux) #37

Open
hamoid opened this issue Oct 4, 2013 · 3 comments
Open

Random must be imported (2.0.3, Linux) #37

hamoid opened this issue Oct 4, 2013 · 3 comments

Comments

@hamoid
Copy link
Contributor

hamoid commented Oct 4, 2013

I don't know if it's something unique to my system, but I need to "import java.util.Random;" to have Random available. Otherwise it does not compile. For example in https://github.com/shiffman/The-Nature-of-Code-Examples/blob/master/Processing/introduction/Gaussian2/Gaussian2.pde

@shiffman
Copy link
Member

shiffman commented Oct 4, 2013

No, this is correct with Processing 2.0. Better still, I need to fix these to use randomGaussian()

http://processing.org/reference/randomGaussian_.html

@hamoid
Copy link
Contributor Author

hamoid commented Oct 6, 2013

Can I help you change to randomGaussian() ?

@shiffman
Copy link
Member

shiffman commented Oct 6, 2013

sure i'm happy to take pull requests (https://help.github.com/categories/63/articles)

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

No branches or pull requests

2 participants