Blog

Three posts from things I built: a 3D site with AI, a form with no backend and a web interface in Photoshop.

What I learned building a 3D personal website with AI

I turned my midterm project into a walkable 3D room together with an AI assistant. Here are the tips I took away from the process.

1. Write the request clearly

The clearer you describe what you want, the better the AI does. I first wrote the assignment requirements one by one (TR/EN, a separate title and description per page, mobile support, SEO), then described my vision: waking up in a skyscraper room and exploring it. Keeping requirements and vision apart made it easier to check and to correct.

2. Generate many pages from one source

I generate all 12 pages (6 TR, 6 EN) from a single Python file, build.py. I write texts bilingually so translations never drift apart:

t("Hakkımda", "About")
py tools/build.py   # tr/ ve en/ sayfalarını yeniden üretir
Terminal output showing the project folder structure
Project folder structure (from the real file list): pages are generated by tools/build.py.
Terminal showing py tools/build.py and the Sayfalar üretildi output
Screenshot: the build finished in the terminal, “Sayfalar üretildi.” (pages generated).

My advice: don't edit generated files by hand. The next build overwrites them all.

3. Think about performance from the start

3D scenes can easily lag. Computing shadows once, doing heavy work up front and choosing a quality level by graphics card all helped. Adding ?perf=1 to the address shows fps and draw calls, so I measure instead of guessing.

4. Use checklists

I added five skills to the project: frontend-design, ui-ux-design, seo-optimization, accessibility and code-review. Each works like a checklist, checking things like duplicate titles and descriptions, keyboard access and lag risks after every change.

My tips

  • Write the requirements first, then dream.
  • Run and check by eye after every change; AI makes mistakes too.
  • Work in small steps and back up regularly.
  • Measure performance, don't guess.
  • Don't leave accessibility for last.

A contact form with no backend: Gmail notifications via FormSubmit

My site's contact form drops messages straight into my Gmail inbox without a server of my own. Here is how I set it up and what I watched out for.

1. Validate first

Before sending I check in the browser: name and subject must not be empty, the email must be valid and the message at least 10 characters. The error appears right under the field. For spam bots I also added a hidden trap field and a limit of one message per 30 seconds.

2. Send to a ready-made service with fetch

I send a fetch request to the free FormSubmit service, which forwards the message to my email.

const r = await fetch("https://formsubmit.co/ajax/EPOSTA_ADRESIN", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ name, email, message })
});

3. Activate on first use

To stop others from misusing my address, FormSubmit sends me a confirmation email on the first message. Until I click the link, messages don't arrive. My form warned me on the first try for that reason. The message it showed was misleading, so I later fixed it to say “The form isn't activated yet”.

A filled-in contact form with an error notice below it
Screenshot: the first try, the form warned me because it was not activated yet.

4. Check the result

After activating I sent it again and the message reached Gmail: name, email, message, language and the page it came from appear in a table.

The table of the message from FormSubmit in Gmail
Screenshot: the message arrived in my Gmail inbox.

My tips

  • Show success and error messages clearly; a silent failure is the worst.
  • Leave a fallback if the service fails: I fall back to a link that opens the email app.
  • The form page must be opened over http:// or https://; it does not work when double-clicked as a file.
  • Read the limits of a free service; for example, incoming emails may carry a small ad line.
  • Always test with your own address.

Designing a web interface in Photoshop: my Starbucks page

In the Graphic Animation course I designed the interface of Starbucks' website in Photoshop with advanced techniques and care. Here are the tips I took from that work.

1. Split the page into sections

Instead of seeing the design as one piece, I split it into sections: menu and campaign visual at the top, drinks, recommendations, offer cards, the mobile app banner and the footer. Once sections are clear, alignment and spacing decisions get easier.

The Starbucks page design with six numbered section markers
Diagram (not a screenshot): how the design is split into sections, numbered areas.

2. Keep the colour palette small

To fit the holiday campaign I worked with red, green and cream tones. Few colours make the page both on-brand and readable.

3. Alignment and spacing

Keeping cards the same size and the gaps between them constant makes a design look tidy. Guides and a grid are the easiest way to do it.

The finished Starbucks web page interface design
The finished Starbucks interface design (Project 4).

4. Name your layers

The number of layers in Photoshop grows fast; grouping and naming sections saves a lot of time when you fix things later.

My tips

  • Draw the sections first, then go into detail.
  • Decide colours and typeface up front.
  • Work at a real screen size (for example 1440 px wide).
  • Think about the mobile view too.
  • Group and name your layers.