This application draws Julia set, very similar to Mandelbrot set, a kind of fractal.
This application has two computation mode, multi threading on CPU, or parallel computing on GPU based on Android's Render Script API.
You can test difference of performance between CPU and GPU. Normally GPU computing is faster than CPU mode.
you can see source codes on GitHub, try URL below.
Application isn't fully optimised but may give some ideas how to improve the implementation. Namely, one might want to reduce unnecessary blur draw calls in case nothing has changed in the view background. Also DrawerLayout causes some headache when it draws it's left/right child views :(
You can find full source code on GitHub for further inspection:
- Stack Blur Algorithm by Mario Klingemann <firstname.lastname@example.org>
- Background image Nicolas Pomepuy https://github.com/PomepuyN/BlurEffectForAndroidDesign
- Application icon by someone on the Internet
Click 'Run' to generate the picture. Click anywhere in the picture, click 'Run' again to zoom in on that point.
You can choose from a number of colour sets and make a screenshot in .png-format, which will be saved in a directory named 'hiware'.
More from developer
This is not a game. No fancy graphics at all here. Just techy numbers.
Handy for land surveys or deeds marks, that's about it.
Update: metric units support.