OpenFrameworks rendition of Daniel Shiffman's Nature Of Code Examples
C++ GLSL
Latest commit 418fe71 Nov 22, 2015 @firmread remove a few files
Permalink
Failed to load latest commit information.
chp0-intro-01-randomwalk-traditional/src remove empty addons.make Nov 20, 2015
chp0-intro-02-random-distribution/src remove empty addons.make Nov 20, 2015
chp0-intro-03-randomwalk-tendsToRight/src remove empty addons.make Nov 20, 2015
chp0-intro-04-gaussian/src remove empty addons.make Nov 20, 2015
chp0-intro-05-noisewalk/src remove empty addons.make Nov 20, 2015
chp0-intro-ex1-randomwalk-tendsToDownRight/src remove empty addons.make Nov 20, 2015
chp0-intro-ex10-noiseLandscape/src remove empty addons.make Nov 20, 2015
chp0-intro-ex9-noise3D/src remove empty addons.make Nov 20, 2015
chp0-intro-fig2-bellCurve/src remove empty addons.make Nov 20, 2015
chp0-intro-fig5-noise1DGraph/src remove empty addons.make Nov 20, 2015
chp0-intro-fig6-randomGraph/src remove empty addons.make Nov 20, 2015
chp0-intro-gaussian2D/src remove empty addons.make Nov 20, 2015
chp01-vectors-01-bouncingball-novectors/src remove empty addons.make Nov 20, 2015
chp01-vectors-02-bouncingball-vectors/src remove empty addons.make Nov 20, 2015
chp01-vectors-03-vector-subtraction/src remove empty addons.make Nov 20, 2015
chp01-vectors-04-vector-multiplication/src remove empty addons.make Nov 20, 2015
chp01-vectors-05-vector-magnitude/src remove empty addons.make Nov 20, 2015
chp01-vectors-06-vector-normalize/src remove empty addons.make Nov 20, 2015
chp01-vectors-07-motion101/src remove empty addons.make Nov 20, 2015
chp01-vectors-08-motion101-acceleration/src remove empty addons.make Nov 20, 2015
chp01-vectors-09-motion101-acceleration/src remove empty addons.make Nov 20, 2015
chp01-vectors-10-motion101-acceleration/src remove empty addons.make Nov 20, 2015
chp01-vectors-11-motion101-acceleration-array/src remove empty addons.make Nov 20, 2015
chp02-forces-01-forces/src remove empty addons.make Nov 20, 2015
chp02-forces-02-forces-many/src remove empty addons.make Nov 20, 2015
chp02-forces-03-forces-many-realgravity/src remove empty addons.make Nov 20, 2015
chp02-forces-04-forces-nofriction/src remove empty addons.make Nov 20, 2015
chp02-forces-05-fluidresistance/src remove empty addons.make Nov 20, 2015
chp02-forces-06-attraction/src remove empty addons.make Nov 20, 2015
chp02-forces-07-attraction-many/src wolfram just need a wait a few frames! Nov 20, 2015
chp02-forces-08-mutual-attraction/src remove empty addons.make Nov 20, 2015
chp02-forces-forces-many-attraction-3D/src remove empty addons.make Nov 20, 2015
chp03-oscillation-01-angular-motion/src remove empty addons.make Nov 20, 2015
chp03-oscillation-02-forces-angular-motion/src remove empty addons.make Nov 20, 2015
chp03-oscillation-03-pointing-velocity-multiple/src remove empty addons.make Nov 20, 2015
chp03-oscillation-03-pointing-velocity/src remove empty addons.make Nov 20, 2015
chp03-oscillation-04-polar-to-cartesian/src remove empty addons.make Nov 20, 2015
chp03-oscillation-05-simple-harmonic-motion/src remove empty addons.make Nov 20, 2015
chp03-oscillation-06-simple-harmonic-motion/src remove empty addons.make Nov 20, 2015
chp03-oscillation-07-oscillating-objects/src remove empty addons.make Nov 20, 2015
chp03-oscillation-08-static-wave-lines/src remove empty addons.make Nov 20, 2015
chp03-oscillation-09-exercise-additive-wave/src remove empty addons.make Nov 20, 2015
chp03-oscillation-09-wave/src remove empty addons.make Nov 20, 2015
chp03-oscillation-10-pendulum/src wolfram just need a wait a few frames! Nov 20, 2015
chp03-oscillation-11-spring/src remove empty addons.make Nov 20, 2015
chp03-oscillation-ex01-baton/src remove empty addons.make Nov 20, 2015
chp03-oscillation-ex04-spiral/src remove empty addons.make Nov 20, 2015
chp03-oscillation-ex05-Asteroid/src remove empty addons.make Nov 20, 2015
chp04-systems-01-singleParticle/src remove empty addons.make Nov 20, 2015
chp04-systems-02-cppVector-particles/src remove empty addons.make Nov 20, 2015
chp04-systems-03-particleSystem-class/src remove empty addons.make Nov 20, 2015
chp04-systems-04-systemOfSystems/src remove empty addons.make Nov 20, 2015
chp04-systems-05-particleSystem-inheritance-polymorphism/src remove empty addons.make Nov 20, 2015
chp04-systems-06-particleSystem-forces/src remove empty addons.make Nov 20, 2015
chp04-systems-07-particleSystem-forcesRepeller/src remove empty addons.make Nov 20, 2015
chp04-systems-08-particleSystem-smoke remove empty addons.make Nov 20, 2015
chp04-systems-09-additiveBlending remove empty addons.make Nov 20, 2015
chp05-physicslibraries-box2D-01-exercise start working on agents chapter Nov 20, 2015
chp05-physicslibraries-box2D-02-boxes start working on agents chapter Nov 20, 2015
chp05-physicslibraries-box2D-03-chainShape wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-01-seek-trail/src remove empty addons.make Nov 20, 2015
chp06-agents-02-arrive/src remove empty addons.make Nov 20, 2015
chp06-agents-03-walls/src flow is somehow super slow... Nov 20, 2015
chp06-agents-04-flow/src wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-06-followCrowd/src wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-06-followPath/src wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-07-separation/src wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-08-separation-seek/src wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-09-GPU-flocking wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-09-flocking/src wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-ex4-wander/src wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-ex6-flowFields wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-stayWithinCircle/src wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-stayWithinDonut/src wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-stayWithinSphere/src wolfram just need a wait a few frames! Nov 20, 2015
chp06-agents-stayWithinTorus/src wolfram just need a wait a few frames! Nov 20, 2015
chp07-CA-01-wolframCA-0randomizedrules/src wolfram just need a wait a few frames! Nov 20, 2015
chp07-CA-01-wolframCA-0simple/src wolfram just need a wait a few frames! Nov 20, 2015
chp07-CA-02-gameOfLife-simple/src GOL update Nov 20, 2015
chp07-CA-03-gameOfLife-OOP/src GOL update Nov 20, 2015
chp08-fractals-01-recursiveCircles/src koch was not working Nov 20, 2015
chp08-fractals-01_Recursion/src remove a few files Nov 23, 2015
chp08-fractals-02_Koch/src remove a few files Nov 23, 2015
chp08-fractals-03_Branching/src remove a few files Nov 23, 2015
chp08-fractals-04_Lsystem/src remove a few files Nov 23, 2015
chp08-fractals-05-kochCurve/src keeping update Nov 23, 2015
chp08-fractals-06-recursive-tree/src keeping update Nov 23, 2015
chp08-fractals-09-LSystem/src keeping update Nov 23, 2015
chp08-fractals-09-simpleLsystem-sent/src keeping update Nov 23, 2015
chp09-ga-01-genetic-algorithm-evo/src remove empty addons.make Nov 20, 2015
chp09-ga-02-simple-smart-rockets/src wolfram just need a wait a few frames! Nov 20, 2015
chp10-nn-01-the-perceptron/src remove empty addons.make Nov 20, 2015
chp10-nn-02-perceptron-steering/src wolfram just need a wait a few frames! Nov 20, 2015
chp10-nn-03-neural-network-diagram/src wolfram just need a wait a few frames! Nov 20, 2015
.gitignore update .gitignore no more project file Nov 16, 2015
readme.md from charlies algo2013 Nov 23, 2015

readme.md

natureOFcode Examples

openFrameworks rendition

donate

If you find this repo useful, please consider donating to help me keep it updated in the future

installations

this folder is designed to go in apps folder of an OF 0.9.0 installation

  • download zip file and unpack in your OF/apps folder
    or go to OF/apps folder via terminal and run:
git clone https://github.com/firmread/NatureOfCode.git
  • in OF folder you should see:
* libs
* apps
  - NatureOfCode
* examples
* scripts

etc. 

  • to use ProjectGenerator to generate project files for this entire repo:
    • ticks the box in (Settings > Advanced Options)
    • click on (Update Multiple > Update Path)
    • locate folder of this NatureOfCode repo on your computer
    • Select your desired platform accordingly
    • press update multiple

note

  • later chapters are still very experimental and unfinished
  • Pull requests for missing/broken examples are very welcome!

credits

This repo is collected, curated, and maintain by Reed Tothong.

It is possible by both direct and indirect contributions from public Nature of Code repos throughout Github.

Contributors including (but not limited to) (in alphabetical order) :