Raphael Bob-Waksberg and Kate Purdy work together on the Emmy-nominated Hollywood satire “BoJack Horseman.” But their latest animated series delivers a narrative that’s even more surreal than the tribulations of a self-loathing talking horse.

“Undone,” premiering Friday on Amazon Prime Video, follows a jaded millennial named Alma ( Rosa Salazar ) on a reality-warping head trip triggered by a near-death car accident. What begins as the typical confusion of waking up in a hospital bed quickly descends into a feverish frenzy of spontaneous time shifts and out-of-body experiences, as Alma is thrust into a metaphysical mystery surrounding the death of her father, played by Bob Odenkirk .

In order to take viewers through the looking glass along with Alma, the eight-episode series is animated using rotoscoping, in which artists trace over motion picture footage, frame by frame. The technique, rare in television, was popularized by the Richard Linklater films “Waking Life” and “A Scanner Darkly.” An international team of artists, overseen by Michael Eisner’s Tornante Company , worked on “Undone,” which depicts Alma’s disorientation in vivid, visceral fashion.

“We started playing with conceptions of reality and asking what it would mean if reality were more flexible than we traditionally perceive it to be,” Purdy said.