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