It has long been suspected Lewis Carroll experienced migraine phenomenon that he incorporated into his book, Alice in Wonderland. In 1955, the neurological experience described in Carroll's book was officially documented and labeled by psychiatrist John Todd as the "Alice In Wonderland Syndrome" (AIWS). Just as in the book, patients feel, see, and experience abnormal shifts in reality, where objects can appear bigger or smaller, time is distorted, and straight lines bend and become curvy. You can learn more about AIWS at WebMD.
Many authors writing science fiction, fantasy, and dystopia often incorporate human diseases or physical ailments into their books, some based on personal experience and some imagined. When authors weave their personal experiences into literature, these stories have more insight to offer the world than just simple plot or character development. They offer rare glimpses into the struggles of reality faced by people coping with medical conditions. The ability to relate and understand the complexity of experiencing life with such a condition is a gift to society. It develops our ability to have compassion towards others we didn't understand and gives us a glimpse into another dimension from which we draw wisdom and knowledge previously unavailable to us in our "normal" state of existence. Literature like Alice in Wonderland offers far greater depths when we don't read stories with a narrow viewpoints or classification of genre. Carroll's "children's book" was representative of the struggles he faced in his adult life. His book was so influential, the entire medical community not only took notice, but aptly named the condition after his work.