noc-examples-processing
noc-examples-processing copied to clipboard
Repository for example code from The Nature of Code book
MonteCarloDistribution file was missing. Fixing link for youtube video (I.4: Custom Distribution - The Nature of Code)
Boid.pde
The original file wouldn't run in Processing3 (3.3.2) throwing an error that vairable pos didn't exist. Added the creation of the variable and modified the line throwing the error under...
https://en.wikipedia.org/wiki/Mode_7
please accept my pull request!
Added parameter to addParticle(), so that user can move mouse around and change the origination point ('current') of the particles. Hence, enhancement issue #24 is resolved. Let me know if...
the ParticleSystem classes having an enforced origin where particles begin is limiting and confusing to students.
Below is my solution for exercise 2.1, balloons. //code by Densou //email: [email protected] Balloon[] balloons= new Balloon[10]; void setup(){ size(600,400); smooth(); for(int i=0; i
Unsure if you have gone over this or not since ive been busy working on building my website. would be nice if you could review and/or refresh over it.
in The-Nature-of-Code-Examples/chp06_agents/NOC_6_06_PathFollowing/ we get the following error: The variable "predictpos" does not exist.
Create an object that both attracts and repels. What if it attracts any particle that is far away but repels those particles at a short distance?