2017 In Review

Another year comes to an end. At the start of this year I decided to do at least one thing for Visions of Chaos each day. That one thing could be fixing a bug or adding a new feature. Sometimes it would just be a small change, other times a new mode. For most of 2017 I did manage this. There was a week or two around the middle of the year that I could not motivate myself and did nothing, but for the rest of the year Visions of Chaos benefited from a bunch of bug fixes and new features. Scrolling down in this blog until the start of 2017 shows I did make some good progress. My to do list for new features continues to grow rather than shrink and Visions of Chaos will never be finished so expect many new features in the coming year.

For my last movie of 2017 I decided to do yet another Video Feedback movie for YouTube as there were a bunch of new and interesting VF examples I found since the last movie was uploaded back at the end of June.

I have also started to try and include soundtracks with my YouTube movies. So many people commented or complained that the videos needed music. I purchased a copy of FL Studio and not really having any musical talent was able to make some soundtracks. Who knows, maybe I will start getting comments to stop adding music now.

Jason.

Multi-threading support in Visions of Chaos

A long overdue and much requested feature in Visions of Chaos has been better support for multi core CPUs. Watching Visions of Chaos churn away calculating a long series of frames for a movie and only seeing one of your CPU cores in use can be frustrating.

Converting single threaded code into multi-threaded capable code is not exactly easy (depending on the algorithm some code is easier than others) but I have started converting some of the easier modes into multi-thread capable code.

Smoothed Particle Hydrodynamics (SPH) was one of the modes in Visions of Chaos that really needed a speed up. See here and here for my previous experiments with SPH.

This next screenshot shows all the 12 cores of an i7 being used for calculating the SPH formulas. Note that the actual displaying of the particles cannot be parallel so there is not 100% CPU utilization. As the particle count goes up (and the time it takes to calculate the million particles moving takes longer than the display time) the CPU usage jumps closer to 100% on all cores.

Parallel Multiphase Smoother Particle Hydrodynamics

After conversion to multi-CPU capable code it was time to render some new 4K resolution SPH simulations. Once the particles count and resolution goes up to fill a 4K screen the times start to plummet again, but seeing these in full 4K resolution is really nice. The parts in the following movie used 1,000,000 SPH particles each which is double my previous particle counts.

Other than SPH, the other modes that take advantage of the rewritten parallel processing code are 4D Cellular Automata, Coupled Cellular Automata 2, Ying-Yang Fire Cellular Automata, Large Neighborhood Totalistic Cellular Automata and Liquid Crystal Cellular Automata. The CA modes are the easiest to convert to parallel processing as by nature they update each cell independent of the others.

There is still a lot of code and modes that would benefit from parallel processing. Yet another entry on my ever expanding to do list of features for Visions of Chaos.

Jason.

Anagram Generator for Android

I have updated my old Anagram Generator app for new Android devices.

Features include;

Lexigram and anagram searching.

Anagram Generator Screenshot

Word searching using wild card characters. Useful for crosswords and Scrabble.

Anagram Generator Screenshot

Rhyming. Search for words that rhyme with a sepecified word. Good for song writers and poets.

Anagram Generator Screenshot

Dictionaries supported are Dutch, English, French, German, Italian and Spanish.

Download Anagram Generator from the Google Play Store here. 100% free and 100% ad free. No device access required for use.

Jason.

ADDLED updated and re-released

After some updates for the latest Android versions I have now released the latest version of ADDLED to the Play Store. ADDLED is 100% free and ad free.

ADDLED Screenshot

The aim is to find a set of numbers that add up to a total value. Initially the levels are simple with just sums using positive numbers, but later levels give larger grid sizes and negatives, multiplication and division.

As the difficulty increases there are more strategies to implement to get through levels.

ADDLED Screenshot

The levels are quick enough to fill in a few minutes when you have some spare time. There are 5000 total levels to keep you more than occupied.

If you think this is your sort of puzzle game, download ADDLED through the Google Play Store.

Jason.

Updated Visions of Chaos for Android

I have updated my Visions of Chaos for Android application to version 1.19. Click here to go directly to the Google Play Store page.

Visions of Chaos for Android Screenshot

New features/fixes include;

1. Added more color palettes
2. Added more sample GLES shaders
3. Added Delete option to remove shaders that are incompatible with device
4. Fixed instabilities with pinch zooming
5. Fixed out of index bug that sometimes occurred with Buffalo Fractals
6. Fixed spinners’ dropdown text colors so they are more visible
7. Fixed bug in GLES shaders that date.w was passed as current second rather than seconds since midnight

Visions of Chaos for Android Screenshot

I do recommend using a new high end Android phone or tablet. The shaders can crash older devices and general performance can be frustratingly slow on old phones.

All of the images on my Instagram gallery were created using the app.

Jason.

10 years on YouTube

Today marks 10 years since I started my YouTube channel.

Back then a video with a resolution of 240p (426×240 pixels) like the following was considered OK.

These days I can upload a 4K video (nine times the vertical and horizontal resolution of that 240p video) and once YouTube puts it through their internal conversion routines it will usually come out looking excellent.

Jason.

Visions of Chaos now supports the Mitsuba renderer

Mitsuba Renderer is a free 3D rendering engine created by Wenzel Jakob that creates realistic images like the following.

Mitsuba render

Mitsuba render

Wenzel is one of the co-authors of the seminal PBRT book, so he knows his stuff. Mitsuba uses an XML file format for the scene files that you can pass to the renderer as a command line parameter. This makes it easy for me to build a compatible XML file and get Mitsuba to render it each frame.

Here are some sample 4K images created with Visions of Chaos and rendered with Mitsuba using the constant lighting model. Constant lighting means that light is simulated hitting surfaces from all directions evenly. This means there are no shadows, but crevices within structures and corners are shaded darker because of ambient occlusion.

Mitsuba 3D Cube Divider render

Mitsuba 3D Diffusion-Limited Aggregation render

Mitsuba 3D Cyclic Cellular Automaton render

Mitsuba 3D Cellular Automata render

Mitsuba 3D Ant Automaton render

Mitsuba 3D Cellular Automata render

Mitsuba 3D Cellular Automata render

Mitsuba 3D Cellular Automata render

Mitsuba 3D Cellular Automata render

Mitsuba 3D Cellular Automata render

Using Mitsuba really gives clean, nicely shaded results and the examples above only using the most basic Mitsuba lighting/material setups. Mitsuba has handled the multi-gigabyte sized scene files with millions of spheres and/or cubes scenes with ease. All the end user needs to do is download/unzip Mitsuba and point Visions of Chaos to the main executable.

Jason.

64 bit Visions of Chaos now available

64 bit

The latest version of Visions of Chaos now includes both a 32-bit and a 64-bit version. You will need to have a 64-bit version of Windows to use the 64-bit version, but if you still use a 32-bit version of Windows then the 32-bit version of Visions of Chaos will continue to work for you. If you are not sure what “bitness” (bititude?) your Windows is, press Windows-Pause and look next to “System type” on the dialog that appears. Both versions are included with the same install exe to avoid confusion and the 64-bit version only installs if you are running 64-bit Windows.

The main advantage of the 64-bit version over the 32-bit is that there is no longer a 3 GB memory limit. As screen sizes have increased the amount of memory that Visions of Chaos requires to render some of its modes at these higher resolutions was hitting the 32 bit application memory limits. 64-bit Visions of Chaos can now use as much memory as you have physically installed in your PC.

Jason.

The Burning Ship Fractal

The Burning Ship Fractal is a slight variant on the Mandelbrot Set Fractal.

The basic Mandelbrot Fractal formula is z=z^2+c. The Burning Ship Fractal formula is z=abs(z)^2+c.

The following image is the standard power 2 Burning Ship Fractal rendered using CPM smooth coloring.

Burning Ship Fractal

Zooming in to the right antenna part of the fractal shows why it was named the Burning Ship.

Burning Ship Fractal

The next 3 images change the exponent 2 in z=abs(z)^2+c to 3, 4 and 5.

Burning Ship Fractal

Burning Ship Fractal

Burning Ship Fractal

The same power 2 through power 5 Burning Ships but this time using Triangle Inequality Average (TIA) coloring

Burning Ship Fractal

Burning Ship Fractal

Burning Ship Fractal

Burning Ship Fractal

The next 4K resolution movie shows a series of zooms into Burning Ship Fractals between power 2 and power 5 colored using CPM coloring

and finally another 4K movie showing more Burning Ship zooms colored using TIA coloring

All of the above images and movies were created with Visions of Chaos.

Jason.