noc-examples-processing icon indicating copy to clipboard operation
noc-examples-processing copied to clipboard

Repository for example code from The Nature of Code book

Results 46 noc-examples-processing issues
Sort by recently updated
recently updated
newest added

MonteCarloDistribution file was missing. Fixing link for youtube video (I.4: Custom Distribution - The Nature of Code)

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...

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.

enhancement

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?