Repository navigation
Bringing the Skin to Life
Until now, the simulator has primarily explored how thousands of individually controlled pigment organs — chromatophores — can expand and contract to create patterns. Version 1.2.0 builds on that foundation, improving how those organs are arranged, how they respond, and how their combined colours interact with the reflective structures beneath them.
What's New
More Realistic Skin Colours and Reflection
The skin now includes a pale underlying layer with subtle, blue-green structural reflection, inspired by the leucophores and iridophores found in cuttlefish.
The pigment palette has also been revised, using more natural ochre, rust and brown tones in place of the previous, more illustrative colours.
Importantly, expanded chromatophores no longer simply obscure the underlying reflection. Their pigments filter the light passing through them, allowing the reflective layer to contribute to the final appearance.
This produces more subtle colour combinations, particularly where pigment coverage is incomplete.
Independent Pigment Controls
Yellow, Red, Brown and Black chromatophores now have their own target-strength controls.
Each pigment group can be adjusted independently from 0% to 100%, allowing experiments with the contribution of different pigments to the overall appearance.
For example, reducing the darker pigments can reveal warmer colours, while reducing individual groups demonstrates how the same underlying pattern can produce quite different results.
These adjustments work with both static patterns and dynamic displays, without resetting the animation.
A More Organic Arrangement
Chromatophores are no longer arranged as perfectly regular, equally sized circles.
Their positions, maximum sizes and pigment identities now vary across the skin, creating a less mechanical appearance while retaining the same underlying population of 2,500 individually controlled organs.
The arrangement is reproducible and remains fixed as patterns change. The organs themselves do not move around the skin — they expand and contract in place.
More Natural Responses
A new Natural timing mode introduces smoother, faster responses, with small, consistent variations between neighbouring groups of chromatophores.
Rather than every organ expanding or contracting at precisely the same rate, nearby organs of the same pigment share slightly different response characteristics.
The default response now reaches approximately 99% of a target change in 250 milliseconds, providing a more convincing impression of the rapid colour changes associated with cephalopods.
The original constant-speed behaviour remains available through Uniform timing, making it possible to compare the two approaches.
Reflection Changes with Viewing Angle
Skin View now responds to independently adjustable camera and light directions.
As these angles change, the intensity and colour of the underlying structural reflection can change too. Blue-green reflections may shift towards blue or violet, and different parts of the skin respond differently according to their simulated reflective orientations.
Crucially, this changes only the appearance of the skin. The chromatophores themselves retain their current positions, sizes and targets.
It's an interesting way to explore the difference between a pigment-based colour change and a change in how light interacts with a reflective surface.
Under the Skin
Alongside the visible improvements, the rendering and simulation code has been developed to support the new behaviour.
- More accurate calculation of pigment coverage, accounting for irregular organ positions and sizes
- Colour filtering and blending in linear RGB light
- Reproducible organ layouts and locally coordinated response timing
- Separate rendering responsibilities for individual chromatophores and their combined skin appearance
- Consistent underlying behaviour across the desktop application and browser explorer
- Expanded automated tests covering geometry, timing, colour calculations and reflection
The project wiki has also been updated to explain the new features, the underlying model and the implementation architecture.
Exploring the Changes
A few experiments are particularly rewarding in this release:
- Switch between Chromatophore View and Skin View to compare the individual pigment organs with their combined appearance
- Try Changing Mottle, then adjust the four pigment levels independently to see how the colour balance changes
- Compare Natural and Uniform timing while running a Travelling Wave or Radial Pulse
- Contract the chromatophores, switch to Skin View, and adjust the camera and light angles to explore structural reflection
- Use Hold to freeze the chromatophores, then change the reflection angles. The pattern stays still, but its appearance can change
A Note on Biological Realism
The simulator takes inspiration from the common cuttlefish, Sepia officinalis, but it remains an educational and exploratory model rather than a detailed physiological reconstruction.
Its pigment properties, reflective structures, organ arrangements and response timings are informed by real biological mechanisms, but their numerical parameters are illustrative rather than scientifically calibrated.
The aim is to make the relationships between chromatophores, underlying reflection, movement and visible skin patterns easier to explore and understand.