Nature Of Code Playground

Hi,

This is a playground project where I test and learn simulating real world scenarios based on the book THE NATURE OF CODE by Daniel Shiffman.

If find the book very interesting and decided to do the exercises and samples in the book with Swift, Cocos2D and Xcode for iOS Devices, just for the fun of it :).

BUT I ran into XCode and Swift bugs which caused XCode to crash or not compile the code. Eventually I gave up on iOS and Apple tools.

I moved to Cocos2d-X and cross-platform development with C++. So I ported what I did for iOS and Swift to Cocos2d-X and C++ using C++11/C++14(where I knew hot to apply them : ) ).

This is currently a work in progress. Check out how the project is going and maybe you will find something help full in the sample code. The following are supported at the moment:

  • A 2D math engine
  • Random number generation logic
  • Basic forces physics simulation
  • Oscillator support
  • Random object that move on the screen
  • Basic Fluid dynamics simulated

#The this project is for the time being on hold due to another project of mine: 26.2.2015

https://github.com/lionadi/NatureOfCodePlayground

 

Sample Documentation

Sample Documentation

Playgroud for real world simulations with Swift, Cocos2D and XCode

Playgroud for real world simulations with Swift, Cocos2D and XCode

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s