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

>we can add radius 24(48/2),display will be right void checkEdges() { if (position.x > width + 24) { position.x = 0; } else if (position.x < 0 - 24) {...

Hello, I'm trying to learn processing and I'm working on this exercise : int [] stuff = new int[5] stuff[0] = 1; stuff[1] = 1; stuff[2] = 2; stuff[3] =...

The examples are being updated in noc-example-p5.js for the 2nd edition. See https://github.com/nature-of-code/noc-examples-p5.js/pull/90 for an example of changes for chapter 2. Eventually this repo should be updated to match.

Contribution: A Java version of the Shakespeare Genetic Algorithm Challenge: [https://github.com/BartholemeuChamberlain/Shakespeare-Genetic-Algorithm](url) I added a piece of functionality to the DNA's ability to retain correct answers, specifically in the Mutation function....

Make bin-lattice spatial subdivision + flocking example

I have been trying to develop an application for timetable generation for universities/schools using Genetic Algorithm. It would be great if you could give a some guidance!!!!!!

I think line 31 should read something like this or the boxes just keep appearing regardless if you click your mouse or not. // When the mouse is clicked, add...

I have a question about [NOC_6_05_PathFollowingSimple](https://github.com/shiffman/The-Nature-of-Code-Examples/blob/master/chp06_agents/NOC_6_05_PathFollowingSimple/Vehicle.pde) In the Vehicle class you calculate the target position outside the `if (distance > p.radius)`, but actually you apply `seek(target)` only if in that...

In Chapter 1 of The Nature of Code Daniel challenged us with an exercise to develop a simple ecosystem. You can find my solution here: https://github.com/Haemstead/BlobWorld Kind regards!