Softology's Blog

Fractals, Chaos Theory, Science, Space, etc

YOTZ

leave a comment »

I just released my fourth Android app. A Yahtzee clone called YOTZ (due to the trademark Hasbro has on the Yahtzee name).

Made for 2 players (no computer AI in this initial version). Allows multiple games to be played at the same time to increase the challenge.

YOTZ screenshot

YOTZ screenshot

100% free and ad free. Search for YOTZ on the Android Market to find it.

Jason.

Written by softologyblog

November 24, 2011 at 12:52 pm

Posted in Android, Softology

Anagram Generator for Android updated

leave a comment »

Anagram Generator has now been updated to version 1.2.

Anagram Generator screenshot

New features include;
Dictionary support for Dutch, English, French, German, Italian and Spanish.
Word search to help crossword solving and other problems.
Rhyming mode that finds words that rhyme with a specified source word. Great help for poets and songwriters.

This also fixes an issue with the earlier release that caused the app to crash if the anagram source word had spaces in it. Never assume your user will realise anything about input and always check/fix input before running the main processes.

Search for “Anagram Generator” in the Android Market to download and install it for free.

Jason.

Written by softologyblog

October 5, 2011 at 12:44 pm

Posted in Android, Softology

Quit Smoking Helper for Android

with one comment

Quit Smoking Helper has been released to the Android Marketplace. Helps anyone who has quit by showing various statistics on time and money saved from not smoking.

These following screenshots show my current statistics.

Search for “Quit Smoking Helper” on the Android Marketplace to install it for free.

Jason.

Written by softologyblog

September 28, 2011 at 9:12 am

Posted in Android

Anagram Generator for Android

leave a comment »

My next venture into Android development was porting the code from my Windows Anagram Generator. For the initial release I got the basic anagram searching going and the speed is not too bad. Even with the slower speed of a smartphone the Android version still finds every possible anagram from the source phrase.

Next version will support multiple languages and the other features of the Windows version of Anagram Generator.

Available now for free from the Android Marketplace. Just search for “Anagram Generator” and you will find it.

Jason.

Written by softologyblog

September 27, 2011 at 11:00 am

Posted in Android

Shared Knowledge

with one comment

I have been meaning to post about this for a long time.

In the past I used to keep my latest secrets secret. As a developer writing fractal software (or any other software) you want your application to have those “wow” features that no other app can duplicate.

That was a simple-minded and foolish belief. The entire evolution and progress of the human existance is based on people sharing their knowledge and discoveries.

Fractal Forums (actually there is only the one forum, so maybe it should be Fractal “Forum”) was one of the major things that changed my mind. Seeing people happily sharing ideas and developing them together that lead to incredible discoveries (outside the usual sceintific community and peer-reviewed papers) was a welcome breath of fresh air. The original thread covering how the Mandelbulb was discovered shows this process.

Ever since then I have tried my best to share and explain ideas and it has been a very constructive and inspirational experience. Many a time I have shared a snippet of code with another chaos enthusiast who wanted to implement the same thing in their own code. The majority of the time they are very grateful and usually find a new twist to the code or idea I never would have had. This creates the feedback effect of leading to knew ideas that neither of us could have created before.

With this blog I have tried to change from making it an advert for a new release of Visions Of Chaos into a place I can hopefully help others understand the (relatively) simple maths behind chaos theory related ideas so they can enjoy and understand these principals themselves and (most importantly) come up with new ideas and advance the field.

Before the Internet was out there and when I was originally interested in fractals and chaos I only had books from the library to rely on to try and understand and learn how these ideas worked. The first real inspiration was Gleik’s Chaos that really got me into trying to code software to create those simple things like Mandelbrot Sets and Lorenz Attractors. Since the Internet that has all changed. The incredible result of shared knowledge is mind blowing. Whatever obscure topic you are interested in will be covered by someone else out there. You can usually find PDF versions of important papers on any topic. CiteSeer is an excellent resource when researching papers. If that doesn’t work a Google search for “paper name” pdf will usually find a cached copy somewhere. Sites like Processing.org are brilliant with source code to explain how an idea works.

All of this does lead to attribution. If you do share an idea then it can (and usually will) lead to someone using that idea and (in the worse case) calling it their own. This can be discouraging, but don’t let it get you down. I try my best to cite the original sources when I develop a new bit of code. Everyone likes to know that their knowledge and ideas were appreciated and repsected.

Another sig at Fractal Forums included “I beg of you to enrich others as you have been enriched” and I think that sums it up. Without the vast pool of knowledge out there I would have never been able to add all the features into Visions Of Chaos that I have so far and will into the future.

Share the knowledge.

Jason.

Written by softologyblog

September 22, 2011 at 2:24 pm

Posted in Uncategorized

VocDroid v1.1

leave a comment »

I released an update to VocDroid today. It now has proper settings dialogs to fully customise the rules. Get it for free from the Android Marketplace.

Getting to grips with Android has been an interesting learning process. I was going to setup a post or two about setting up the SDK and writing a basic app framework, but at this stage it would be the blind leading the blind. Once I get some more experience it is something I would like to do.

Jason.

Written by softologyblog

September 22, 2011 at 11:04 am

Posted in Android, Softology

Visions Of Chaos for Android

with one comment

My old Nokia phone finally died so I upgraded to a new Android capable smartphone.

After trying a bunch of the freely available apps I wanted to have a go at programming the device for myself. After a few days of hacking I managed to get the first version of Visions Of Chaos for Android (VocDroid) up and running. Currently it only supports 2D Cellular Automata and 2D Cyclic Cellular Automata.

Here are a few screenshots;

Download it for FREE from the Android Marketplace (search for VocDroid) or click here.

Jason.

Written by softologyblog

September 19, 2011 at 1:25 pm

Posted in Android, Chaos, Softology

Dots Maker

leave a comment »

The game of Dots and Boxes has been around for many years and no doubt most people played it as a kid.

I was recently having a few games with a mate of mine over some beers and we both realised how tedious the initial setup phase of the game is (initially drawing up the grid of dots and then filling in the random spots until you reach the “end game” of actually using some strategy to fill in the boxes). So after some hacking I wrote a simple app to generate and print game setups.

The first version makes a “perfect” setup in which every move is going to give the oponent a completed box.

That worked OK, but it came down filling in the single boxes, then the doubles, then the triples etc without any chance for a free move to be found.

If the Perfect checkbox is unchecked then after the initial perfect setup is generated there is a 1 in 4 chance of existing walls being removed. This allows a few free moves before the end game begins.

There has been some extensive analysis into the game and many strategies exist for good gameplay.

I had always played the rule that if you can complete a box you have to. Apparently this is the simpler version of the game and the real rules state you do not have to take a box unless you want to. Playing this version opens up many more strategies (see previous strategies link).

If you want to try the app, grab it here. Single exe, just download and run it. It detects the optimal grid size for your current printer when you start it up.

Jason.

Written by softologyblog

September 2, 2011 at 9:17 am

Posted in Uncategorized

Even More New Mandelbulb Variations

with 2 comments

Rule 5101 – Power 5 Juliabulb
Mandelbulb Fractal

Rule 20955 – Power 6 Mandelbulb
Mandelbulb Fractal

Hybrid Mandelbulb
Mandelbulb Fractal

After the previous encouraging results here and here I had to try the fully extended 32,768 possible permutations of these trig variations.

Theta and Phi are initialised by using

theta:=arctan2(z.y,z.x);
phi:=arcsin(z.z/radius);

The Triplex Algebra power function uses

x=radius*cos(phi)
y=radius*cos(theta)*cos(theta)
z=radius*sin(phi)*cos(phi)

Each of the trig components can be +/- sin/cos phi/theta.

Convert these 15 possible combos into a 15 digit binary number using the following rules for each digit from left to right;
1. 0 for X COS, 1 for X SIN
2. 0 for X Phi, 1 for X Theta
3. 0 for +, 1 for -
4. 0 for Y COS, 1 for Y SIN
5. 0 for Y Phi, 1 for Y Theta
6. 0 for +, 1 for -
7. 0 for 2nd Y COS, 1 for 2nd Y SIN
8. 0 for 2nd Y Phi, 1 for 2nd Y Theta
9. 0 for +, 1 for -
10. 0 for Z COS, 1 for Z SIN
11. 0 for Z Phi, 1 for Z Theta
12. 0 for +, 1 for -
13. 0 for 2nd Z COS, 1 for 2nd Z SIN
14. 0 for 2nd Z Phi, 1 for 2nd Z Theta
15. 0 for +, 1 for -

After letting my PC churn away for a few days I had the results of the 32,768 variations. Here are the 16 I found most interesting and/or unique.

Rule 420

Mandelbulb Fractal

Rule 1334

Mandelbulb Fractal

Rule 1444

Mandelbulb Fractal

Rule 2980

Mandelbulb Fractal

Rule 5101

Mandelbulb Fractal

Rule 5613

Mandelbulb Fractal

Rule 6326

Mandelbulb Fractal

Rule 8575

Mandelbulb Fractal

Rule 8703

Mandelbulb Fractal

Rule 11262

Mandelbulb Fractal

Rule 13246

Mandelbulb Fractal

Rule 16795

Mandelbulb Fractal

Rule 17290

Mandelbulb Fractal

Rule 17856

Mandelbulb Fractal

Rule 20937

Mandelbulb Fractal

Rule 20955

Mandelbulb Fractal

All of these new variations are now avilable in Visions Of Chaos.

Jason.

Written by softologyblog

August 1, 2011 at 8:27 am

Posted in Chaos, Fractals, Mandelbulbs

More new Mandelbulb Variations

leave a comment »

Rule 181 – Power 8 Mandelbulb
Mandelbulb Fractal

Rule 388 – Power 4 Juliabulb
Mandelbulb Fractal

Rule 404 – Power 2 Juliabulb
Mandelbulb Fractal

Rule 1328 – Power 4 Juliabulb
Mandelbulb Fractal

Rule 2160 – Power 8 Juliabulb
Mandelbulb Fractal

Rule 2512 – Power 2.9 Juliabulb
Mandelbulb Fractal

After the last success with new Mandelbulb variations I extended the possible search space. These variations are also created from formulas from Tad Boniecki. Three of his variations followed these same basic forms.

See this blog post for all the details of the previous new variations. The only change here is adding a second trig call to the Y component. So now, the possible variants follow the pattern

x=radius*cos(phi)
y=radius*cos(theta)*cos(theta)
z=radius*sin(phi)

Each of the trig components can be +/- sin/cos phi/theta.

Convert these 12 possible combos into a 12 digit binary number using the following rules for each digit from left to right;
1. 0 for X COS, 1 for X SIN
2. 0 for X Phi, 1 for X Theta
3. 0 for +, 1 for -
4. 0 for Y COS, 1 for Y SIN
5. 0 for Y Phi, 1 for Y Theta
6. 0 for +, 1 for -
7. 0 for 2nd Y COS, 1 for 2nd Y SIN
8. 0 for 2nd Y Phi, 1 for 2nd Y Theta
9. 0 for +, 1 for -
10. 0 for Z COS, 1 for Z SIN
11. 0 for Z Phi, 1 for Z Theta
12. 0 for +, 1 for -

This bumps the total possible variations up to 4096. After letting the PC churn away for a few hours I had all possible variations with thumbnails (I have avoided posting all 4096 images to flickr this time).

After deleting the spikey and lathed results this got the count of possibles down to 1288.

Deleting all the assymetrical results got the count down to 266 possibles.

Then comes the difficult part. You get down to a bunch of symmetric bulbs that fall into catagories of similar shapes and styles. Culling down the least interesting out of a bunch of 10 or so very similar images sent me cross eyed. In the end I narrowed 4096 down to 27.

Rule 181

Mandelbulb Fractal

Rule 388

Mandelbulb Fractal

Rule 397

Mandelbulb Fractal

Rule 404

Mandelbulb Fractal

Rule 924

Mandelbulb Fractal

Rule 965

Mandelbulb Fractal

Rule 972

Mandelbulb Fractal

Rule 989

Mandelbulb Fractal

Rule 997

Mandelbulb Fractal

Rule 1328

Mandelbulb Fractal

Rule 1412

Mandelbulb Fractal

Rule 1575

Mandelbulb Fractal

Rule 1841

Mandelbulb Fractal

Rule 1996

Mandelbulb Fractal

Rule 2016

Mandelbulb Fractal

Rule 2017

Mandelbulb Fractal

Rule 2024

Mandelbulb Fractal

Rule 2160

Mandelbulb Fractal

Rule 2161

Mandelbulb Fractal

Rule 2512

Mandelbulb Fractal

Rule 2521

Mandelbulb Fractal

Rule 2537

Mandelbulb Fractal

Rule 2608

Mandelbulb Fractal

Rule 2619

Mandelbulb Fractal

Rule 2969

Mandelbulb Fractal

Rule 2984

Mandelbulb Fractal

Rule 3394

Mandelbulb Fractal

All of these new variations are now avilable in Visions Of Chaos.

Jason.

Written by softologyblog

July 27, 2011 at 7:50 am

Follow

Get every new post delivered to your Inbox.