Developing a Poem Generator

Demo

This web applications provides users with the ability to create their own poems by simply typing in one sentence. After the poem is generated, the user can freely change the overall emotion of the poem to suit their intended tone.


With HTML, CSS, and JavaScript, I used my knowledge of event handling, DOM manipulation, and basic API requests to create a seamless UI for users to easily create their own poems and quickly change the tone.


For my INST408Z class, my professor allowed us to explore a myriad of ways authors have used technology and data-driven tools to produce works of literature. She encouraged us to explore different algorithms and AI platforms to generate works of our own and extract meaning from them.


For my final project, I opted to integrate OpenAI's ChatGPT 4o, using their public API, for the focus of generative literature. I was always fascinated with user input influencing the outcome of a story, taking inspiration from mediums such as "Mad Libs" and "The Oregon Trail" game.