Logo by mauxuam - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. March 28, 2024, 09:42:21 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Mandeldroid 1.1  (Read 3268 times)
Description: Mandeldroid 1.1 released for Android in Google Play
0 Members and 1 Guest are viewing this topic.
nmmmnu
Forums Freshman
**
Posts: 15


WWW
« on: May 22, 2015, 11:10:26 AM »

Hi

I am not new to the forum, but until now I did not have account.

Some time ago, i developed following program on C:
https://github.com/nmmmnu/Mandelbrot

and week ago I port it in Java for Android here:
https://github.com/nmmmnu/MandelDroid
so I can play with touch controls and export coordinates for the C version.

you can download directly from Google Play:
https://play.google.com/store/apps/details?id=nu.nmmm.android.mandeldroid

Any suggestions and criticism will be welcome!
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #1 on: May 22, 2015, 11:33:05 AM »

 A Beer Cup
Wow looks fast, but where's the menu. And why it doesn't recognize dblclick to zoom...
Luca cheesy
Logged

No sweat, guardian of wisdom!
PieMan597
Conqueror
*******
Posts: 122



WWW
« Reply #2 on: May 22, 2015, 01:24:40 PM »

Nice app! Darkbeam, the menu appears if you tap the back button.
Logged
nmmmnu
Forums Freshman
**
Posts: 15


WWW
« Reply #3 on: May 22, 2015, 04:41:03 PM »

@DarkBeam - if there is no hardware menu button, menu is "linked" to back button, but you need version 1.1

I did not know double click must zoom - will do it next release.
Is there any other "standard" things people expects?

Fast - I am using "normal" double and simulating complex with them:

https://github.com/nmmmnu/MandelDroid/blob/master/src/nu/nmmm/android/mandelbrot/FractalCalculatorMandelbrot.java#L68
Code:
double zx2 = zx * zx;
double zy2 = zy * zy;

if (zx2 + zy2 > ESCAPE2)
return i;

zy = 2 * zx * zy + y;
zx = zx2 - zy2 + x;

this does not allow me to do anything else than cube, but works quite fast... (x = real, y = imaginary)

I also did not used abs(), because in my C experience, it works slower than simple if's.
>>> correction - seems I lied about abs()
Logged
Snicker02
Alien
***
Posts: 38


« Reply #4 on: May 22, 2015, 05:59:29 PM »

WOW!! very nice!!!  cheesy it saves to the base directory of the card... is there a way to choose where to save it to? or a share button??
Logged
nmmmnu
Forums Freshman
**
Posts: 15


WWW
« Reply #5 on: May 22, 2015, 07:29:06 PM »

share currently is not implemented, but probanly in the future - depends how difficult it is to be implemented.

about sd card - i tried to do it as easy as possible, i probably need to change it to dedicated directory, because if I use pictures, it will get mixed with camera shots / uploads.
Logged
TheRedshiftRider
Fractalist Chemist
Global Moderator
Fractal Iambus
******
Posts: 854



WWW
« Reply #6 on: May 22, 2015, 10:09:24 PM »

Fast and simple, nice. But the zooming makes the fractal  move too much, I think.
Logged

Motivation is like a salt, once it has been dissolved it can react with things it comes into contact with to form something interesting. nerd
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #7 on: May 23, 2015, 10:14:23 AM »

Julia mode is missing sad
Logged

No sweat, guardian of wisdom!
nmmmnu
Forums Freshman
**
Posts: 15


WWW
« Reply #8 on: May 23, 2015, 12:35:56 PM »

julia mode is at the bottom of my list...

beside bugfixes, next thing - some new color schemes with rgb colors.
Logged
Snicker02
Alien
***
Posts: 38


« Reply #9 on: May 25, 2015, 04:19:11 AM »

julia mode is at the bottom of my list...

beside bugfixes, next thing - some new color schemes with rgb colors.

I like the new colors in the newest update
Logged
nmmmnu
Forums Freshman
**
Posts: 15


WWW
« Reply #10 on: May 25, 2015, 04:03:22 PM »

Here are some images with same color scheme, backported to C

perpendicular burning ship antennas??? smiley
https://www.flickr.com/photos/nmmmnu/18075438591/in/dateposted-public/

other perpendicular burning ship places:
https://www.flickr.com/photos/nmmmnu/17888165279/in/dateposted-public/
https://www.flickr.com/photos/nmmmnu/18071065922/in/dateposted-public/

burning ship forest
https://www.flickr.com/photos/nmmmnu/17451825024/in/dateposted-public/
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.265 seconds with 24 queries. (Pretty URLs adds 0.021s, 2q)