Creative Technology
Investigating Procedural Animals and Autonomous Behaviour
Exploring Procedural Character Generation
As I continue developing the Community Arts website, I have been considering how its interactive tower could evolve into an environment that feels increasingly alive. The animated vegetation, oak tree, clouds and rolling hills have already contributed towards establishing an environmental identity. However, I would like to investigate how autonomous characters could introduce another dimension to the installation.
I recently began exploring the Procedural Animals library, which contains examples of computationally generated animals implemented using Three.js. One example that particularly interested me was an animated crow.
What initially attracted me to the demonstration was the extent to which the animal's behaviour could be manipulated. Users can select a position on the ground and have the bird navigate towards it. The animal also possesses different behavioural capabilities, including walking, flying, eating and attacking.
One particularly interesting feature was a visual indicator displaying the distribution of weight between the bird's feet during locomotion. This encouraged me to consider how procedural animation can extend beyond the playback of predetermined animation sequences and instead respond to changing physical and environmental conditions.
The Visual Characteristics of Procedural Generation
The crow possessed certain visual imperfections, particularly around the positioning of its eyes. When observing the model, I felt that its appearance suggested it had been generated computationally rather than individually sculpted by a character artist.
This distinction interested me because procedural generation can produce a recognisable visual language of its own. The appearance of an object emerges from the parameters and rules governing its construction rather than exclusively from direct artistic manipulation.
Although some of these characteristics might require refinement, I do not necessarily consider every irregularity a failure. There is an interesting relationship between computational construction and artistic authorship, particularly when an existing procedural system is subsequently adapted to fulfil a different creative intention.
Since the Community Arts installation already uses Three.js, the library presents an opportunity to investigate how existing computational systems can be repurposed within my own creative practice.
Developing Autonomous Behaviour
Rather than allowing visitors to directly control the bird, I would prefer for it to behave autonomously within the installation.
Initially, I considered establishing a designated area within which the animal could walk, alongside a series of locations where it could land and perch. These locations could include individual bricks within the tower and branches belonging to the oak tree.
The animal could independently transition between walking, flying, landing and resting. This would introduce activity that does not occur exclusively in response to visitor input.
A finite-state machine could provide a relatively straightforward framework for organising these behaviours. Each state would correspond to a particular activity, with transitions determined by environmental conditions, elapsed time or interactions with the tower.
This would allow me to create the impression of independent behaviour without necessarily implementing an elaborate artificial intelligence system.
Responding to the Interactive Environment
One particularly interesting possibility is establishing a relationship between the bird and the rotational movement of the tower.
While perched on an individual brick, the animal could remain attached to that brick as the visitor rotates the structure. However, if the rotational speed exceeds a particular threshold, the bird could take flight.
This would introduce a responsive relationship between the animal and the visitor's actions without requiring direct interaction with the animal itself.
Technically, this could potentially be achieved by associating the bird's resting position with the transformation of the selected brick and monitoring the angular velocity of the tower.
The animal would transition into its flight state once the movement exceeds a defined threshold.
This approach could communicate the impression of physical responsiveness without requiring a particularly demanding physics simulation.
Reflecting on Procedural Complexity
Although the Procedural Animals demonstration contains numerous behavioural capabilities, I do not necessarily need to reproduce every available feature.
The objective is not to demonstrate the maximum technical potential of the library, but to identify which behaviours contribute meaningfully towards the installation.
I am particularly interested in how relatively simple computational rules can produce the impression of a living environment.
An animal that moves between different locations, responds to disturbances and occasionally rests may communicate a convincing sense of autonomy without requiring an extensive behavioural system.
This investigation has encouraged me to consider procedural animation as more than a technical method of producing movement. It can also establish relationships between objects, communicate environmental conditions and contribute towards the artistic identity of an interactive space.
My next consideration is how these behaviours could fulfil a more specific communicative function within the Community Arts installation.
References
Three.js. Official documentation.
Procedural Animals. Three.js procedural animal generation and animation library.
Millington, I. (2019). AI for Games. Third edition. CRC Press.