Hello everyone,
I'm pleased to announce that we've just made a 0.11.0 release. Loads of changes have gone in recently, including:
- Formulas now support more stencils: bilaplacian_a, trilaplacian_a, gaussian_a, sobelN_a, sobelNE_a, x_gradient_a,
x_deriv2_a, x_deriv3_a, gradient_mag_squared_a (previously we just had laplacian_a). Several patterns have been converted from kernel rules to formula rules as a result.
- Formulas now support a_e, a_nw etc. in a more natural way. Instead of accessing the float4 block that is the neighbor of the current block, these keywords return a float4 that has the four values that are neighbors in the specified way. Now we can do e.g. a = a_ne; in a formula to have the whole pattern shift down and left by one pixel. This is a breaking change: formula rules that accessed cells using a_w, a_e, a_nw, a_se, etc. will no longer behave as they did before.
-
New pattern setting: accuracy. Controls the size of the stencil, where available. Use "low" to run fast, and "high" to run
accurately.
- New render setting: colormap, with 11 maps available: "HSV blend", "spectral", "spectral reversed", "inferno", "inferno reversed", "terrain", "terrain reversed", "orange-purple", "purple-orange", "brown-teal", "teal-brown". The old behavior (HSV interpolation between two colors) is still available - choose "HSV blend".
- New render setting: If plot_ab_orthogonally = true in a 1d pattern, we plot chemicals 'a' and 'b' against each other in the line graph, allowing us to show e.g. Schrodinger1926/packet.vti or Yang2006/jumping_cGL.vti in a more useful way.
- New patterns:
> An implementation of the Kuramoto-Sivashinsky equation, thanks to Dan Wills. Patterns: Kuramoto-Sivashinsky.vti, Kuramoto-Sivashinsky_multistable.vti, Kuramoto-Sivashinsky_travelling_waves.vti, Kuramoto-Sivashinsky_travelling_waves2.vti
> Kobayashi1993/crystals.vti
> In Experiments/TihaVonGhyczy: sobel_waves.vti.
> In Experiments/TimHutton: mutually-catalytic_spots_2.vti.
> wave_soliton.vti
> Lotka-Volterra_1D.vti
> complex_Ginzburg-Landau_1D.vti
> KortewegDeVries1895/kdv.vti
Huge thanks to Dan and Andrew and Tiha for contributions to this build.
Tim