Jump to content


DrKappa

Member Since 24 Sep 2012
Offline Last Active Oct 03 2012 08:13 AM
-----

Topics I've Started

Mad Marbles(LWP with realtime glass ball effect(ì)

24 September 2012 - 09:16 AM

Mad Marbles / Mad Marbles Lite is an android live wallpaper I recently released on Google Play.

Posted Image

It renders a set of moving glass marbles affecting the background image. The wallpaper features OpenGL ES 2.0 rendering and physics simulation. It is also interactive as you can select single marbles and move them around. Marbles collide and there is also an accelerometer-driven mode that makes marbles move accoring to you device orientation. On devices supporting background scrolling when changing home screen, marbles gets a gravity impulse following the hone screen change.

Technically speaking physics is performed using a dynamic box2d library compiled in native code for performance. Box2D library is then called from java code using JNI. Rendering is 100% OpenGL ES and glass ball effect is achieved with a fragment shader.

The difference between the lite and full versions is full version supports custom background images, has a customizable halo effect, allows selecting a specific marbles color and adds multicolor mode with 10 presets included.

Feedback and suggestions are welcome!