DEV Community

ANIRUDDHA  ADAK
ANIRUDDHA ADAK Subscriber

Posted on

AI Office Culture Art Generator

Frontend Challenge CSS Art Submission

This is a submission for Frontend Challenge: Office Edition sponsored by Axero, CSS Art: Office Culture.

Inspiration

My inspiration for this project was the fascinating duality of "office culture." On one hand, it's the mundane reality of desk lunches, repetitive tasks, and the constant hum of a mechanical keyboard. On the other, it's a space ripe for surreal interpretation—what if the water cooler conversations were about interdimensional travel? What if the "synergy" we all talk about became a tangible, glowing force?

I wanted to build more than just a static CSS art piece. I envisioned a tool that could take these fleeting, funny, or frustrating thoughts about office life and elevate them into genuine works of art. The core idea was to bridge the gap between human creativity and AI's immense generative power, using the office theme as our canvas. The CSS art of the desk serves as the "altar" where the user's creative ritual begins.

Demo

You can try the live application here: AI Office Culture Art Generator

Here's a glimpse of what it can create:

Imag tion

The application is fully interactive. You enter a concept, and the AI will generate a unique masterpiece for you.

Journey

This project was a fantastic journey from a simple concept to a fully-fledged interactive application.

The Stack: I decided to build this with React and Tailwind CSS, leveraging the incredible power of the Google GenAI SDK for the AI components. Specifically, I used gemini-2.5-flash-preview-04-17 for its speed in enhancing user prompts and imagen-3.0-generate-002 for its stunning image quality.

Design Evolution: The design process was iterative. I started with a basic layout but quickly moved towards a more modern and immersive "glassmorphism" aesthetic. The animated gradient background and the mouse-following spotlight effect were added to make the experience feel more dynamic and magical, contrasting with the often-static nature of office work.

Prompt Engineering: One of the most interesting challenges was crafting the system instruction for Gemini. It took several tries to perfect a prompt that could consistently transform a simple user idea (e.g., "sad desk lunch") into a detailed, cinematic, and emotionally resonant prompt suitable for Imagen. This felt like teaching the AI to be a creative director.

The CSS Art: The desk scene was built with pure CSS and Tailwind utility classes. I wanted it to feel like a part of the application, not just a static image. Adding the subtle hover animations—the steaming coffee, the wiggling sticky notes—was my favorite part, as it brought a little bit of life and whimsy to the scene.

What's Next? I'd love to expand this by adding more CSS art scenes (perhaps a break room or a server room?) and allowing users to choose different artistic styles for their generated images.

This was an incredibly rewarding project to build, blending my passion for clean UI/UX design with the limitless possibilities of generative AI. Thanks for checking it out!

Top comments (3)

Collapse
 
axrisi profile image
Nikoloz Turazashvili (@axrisi)

your link is restricted, share it with a share button inside AI Studio to be eligible :)

Collapse
 
aniruddhaadak profile image
ANIRUDDHA ADAK

Hey, it’s now displaying correctly after I reviewed it with another Gmail account, granted it Drive access, and then it appeared like this.

Imaimage doemon

Collapse
 
aniruddhaadak profile image
ANIRUDDHA ADAK

Thank you for your feedback!

I have looked into this and am sharing the correct link.