Doctors in a domed laboratory in Canada are designing a virtual world where they hope one day to treat traumatised children with colourful avatars using toylike medical gadgets.
Sensory stimulation could be used to make a burn victim feel she is encased in a block of ice. Three-dimensional images of a child's bedroom at home could make him forget he is in a hospital.
"You could take a child suffering from burns and put him in a polar environment, crossing the threshold of reality, to dull his pain," says Patrick Dube, who is leading a team of medics from Montreal's Sainte-Justine hospital and software engineers at the Society for Arts and Technology.
"We know that cognitive illusions have an effect on the perception of pain," he says.
At the Satosphere, an 18-metre-wide (60-foot) dome originally designed to provide spectators with a 360-degree view of art projections, the team has set up a hospital room, or "living lab", to try out new treatment ideas.
The dome, touted by the Satosphere president Monique Savoie as a "cinema for the 21st century", is an offshoot of the Circle-Vision theatre unveiled at the 1967 International and Universal Exposition's Bell Pavilion in Montreal.
"We can, through multiple projectors, create immersive environments that integrate not only walls, but also the furniture in a room," Dube says.
One of the many tools being tested by the doctors would allow them to give medical gadgets the appearance of fantastical, non-threatening toys.
Children would, in theory, be able to familiarise themselves with "scary" medical instruments, such as syringes, easing common fears over medical tests and treatments.
In the hands of a little girl, a syringe is transformed into a storybook rocket.
"I'm no longer scared of injections," says Maxime, 11, the daughter of one of the researchers.
The researchers are also looking into avatars that could one day allow doctors and nurses to communicate with children traumatised by sickness or a crippling accident, who may not be comfortable opening up to an adult.
Such high-tech puppetry might be used to build a child's confidence or help re-socialise them. The person controlling the avatar from another room could ask a child to mimic its movements as part of physical rehabilitation.
The ultimate aim is to apply the technology to help the children "overcome their fears and discover things about themselves," says Patricia Garel, the head of Sainte-Justine's psychiatry department.
"There's enormous potential in our discipline, but we're still at a very early exploratory stage."
Virtual communication and video games are claimed to sometimes have a negative effect on the socialisation of children, particularly the most emotionally fragile, who might shut themselves in.
But Garel insists that, if used correctly, the tools could carve a virtual path back to normal life.