# SPWN

- URL: https://danicalero.com/en/projects/spwn
- markdown: https://danicalero.com/en/projects/spwn.md
- Client: Antonio "SPWN" Plaza
- Year: 2026
- Services: Web design, Web development
- Technologies: Next.js, React, Stripe, Payload CMS
- Website: https://www.spwn.es

A new website for the illustrator Antonio "SPWN" Plaza: a portfolio of physical illustrations you can draw on and throw around, an infinite clients grid, and a full shop with its own checkout and customer account.

A portfolio you can play with, and a shop that feels like it. A new website for the illustrator Antonio "SPWN" Plaza: a portfolio of physical illustrations you can draw on and throw around, an infinite clients grid, and a full shop with its own checkout and customer account.

The recordings show the real site running locally on a copy of its public content (projects, clients, products). No buyer data appears: the customer, her orders and her email are made up for the recordings. The shop runs in Stripe test mode, with test card numbers. The client names and avatars shown are the ones the site already publishes, with the illustrator's permission.

## Context and problem

SPWN is the studio of Antonio Plaza, an illustrator who makes visual identities, covers and merchandising for music, fashion and brands. His previous site was a shop with a portfolio attached. He needed the other way round: a site that looks like his work, shows his projects and clients, and still sells prints, mugs and fanzines.

The risk was a template. A portfolio that looks like every other portfolio says nothing about an illustrator. A shop that looks like another site breaks the spell at the first click.

- Image: The SPWN landing page with about eight illustrations resting on it. The word SPWN is drawn by hand in blue, red, green and black ink. A drawing toolbar sits at the edge of the screen. The start of the clients band is visible below.

## My role

I designed and built the whole site on my own: interaction design, front end, content model, shop, checkout, account and emails. Antonio brought the work, the clients and the brand. I turned that into one site where the browsing and the buying feel like the same place.

## Solution overview

One Next.js app serves two areas. The marketing area has the landing, the project index, the clients grid and the contact page. The shop area has products, cart, checkout and account. Payload CMS holds all the content: projects, clients, products, orders and the shop settings. The admin panel is the same system the site reads from.

Both areas share one visual language: a torn paper edge between sections, pixel curtains between pages, and illustrations that behave like objects. The shop is not a separate theme.

- Image: A project page for a festival merchandise job. Two illustrations sit side by side in a block. A sidebar on one side lists the project tags, the title and a small table of details.

On a phone the site is not a shrunken desktop. The hero video fills the screen, the navigation folds into a side menu, and the dialogs become sheets that rise from the bottom.

- Image: A desktop screenshot of the SPWN landing hero: an illustrated beach scene with characters on a surfboard and the full navigation bar on top.

## Key features

### 1. A page you can draw on

A toolbar lets any visitor draw on the page with a pencil, in five colours and several widths, and erase with an eraser. The ink sits on a canvas above the content and scrolls with the page. A stroke can never start on top of an illustration, a link or a button, so the page stays usable while it is covered in ink.

- Image: Screen recording of the landing page with a drawing toolbar. Two blue smileys and a red sun are drawn in the white gap between the services list and the contact title. A thick wavy red line is added under the drawing. The page scrolls down and up and the ink stays in place. The eraser removes one extra ray of the sun.

### 2. Illustrations with weight

The landing launches illustrations when the visitor scrolls past the hero: 20 per launch, up to 60 on screen. They have mass, friction and bounce, so they can be grabbed, flung and made to collide. A short tap makes one burst into pixels. Two buttons spawn more or remove them all.

- Image: Screen recording of the landing page covered in illustrations. One illustration bursts into pixels when clicked. Another is dragged to an empty spot and flung into a third, which bounces away. A hard throw sends one against the side wall. A button spawns a burst of 20 more, and another button makes each one swell and burst.

### 3. A footer that breaks

The giant footer logo is a pixel simulation. The cursor repels its blocks. A click blasts them away, and a held press drags them. Then the logo rebuilds itself.

- Image: Screen recording of the contact page footer with a giant SPWN logo. The cursor sweeps from the S to the N and the logo's pixels scatter away from it. A click on the P blows it apart. A held press on the W drags pixels to the right. The logo then rebuilds itself and rests.

### 4. A clients grid with no edges

Clients live on an infinite grid. It can be dragged, it keeps gliding after a fling, and the wheel zooms around the cursor. A lens enlarges the avatars near the pointer. Clicking a client opens its page. Elsewhere, a scrolling band of names opens an avatar bubble on hover.

- Image: Screen recording of the clients page. A grid of client avatars fills the screen. It is dragged left, then flung right and keeps gliding. The wheel zooms the grid around the cursor. A click on one avatar plays a pixel curtain and opens that client's page.

- Image: A dense grid of square client avatars, zoomed in. One large face sits at the centre, where the cursor's lens enlarges it. The tiles around it are smaller. One avatar is cut by the left edge.

- Image: A scrolling band of client names in capital letters. One name on the second row has a round avatar bubble above it. The torn edge of the previous section runs across the top of the image.

With a finger the playful parts still work: the illustrations can be dragged and flung, and the grid zooms with two fingers. The drawing toolbar is the only feature kept for mouse and pen. The clients band gets its own black backdrop with a torn edge on small screens.

- Image: Three phones side by side on a light grey background. The first shows the side menu open over the hero. The second shows the landing headline with red devil illustrations falling over the text. The third shows the band of client names on a black backdrop with torn edges, between two white paper cards.

### 5. Infinite pages that change the URL

A client page does not end. Scrolling past its last project loads the next client under a torn edge, and the address bar follows. Project pages do the same. Each page is a real URL that can be shared or reloaded, and the content is a continuous feed.

- Image: Screen recording of a client page with a small address pill at the bottom left. Scrolling past the end of the first client reveals a torn edge and the next client's header, and the address changes. Scrolling on reaches a third client. A project card is clicked and a pixel curtain opens the project page, with image blocks in two and three columns and a video that starts when visible. Scrolling past it loads another project and the address changes again.

The small address pill at the bottom left of this video is drawn over the recording to make the URL change visible. The site itself shows it in the browser bar.

- Image: A client page ends in a grid of images. A torn edge crosses the middle of the screen. Below it, the next client's page begins with its large name header.

### 6. A portfolio index you can reshape

The project index is a masonry grid. A slider sets the columns from two to six, and the value is kept in the URL. A Random button reorders the covers.

- Image: Screen recording of the project index as a masonry grid of covers. A slider is dragged from four columns down to two, and the covers regroup at each step. It is dragged back to four. The Random button is clicked twice and the covers reorder.

### 7. A shop that feels like the site

Products come from Payload: mugs and prints fulfilled by Printful, and fanzines shipped by hand. Adding to the cart flies the product photo in an arc to the cart icon. The cart is a drawer with a torn edge.

- Image: Screen recording of a mug product page. The Add to cart button is pressed. A small copy of the product photo flies in an arc to the cart icon, a ring pulses around it, and the counter shows one item. The cart icon is clicked and a drawer slides in from the right, showing the mug and a checkout button.

Variants show their stock in the interface. A size with no stock is a struck-through chip that cannot be selected. The chosen variant lives in the URL, so a link opens the exact size. For a size sold out, the page shows a red SOLD OUT label and a grey button.

The live catalogue has no variants today. For this recording I added three sizes to one print in the local copy, so the stock states could be shown.

- Image: Screen recording of a print product page with three size chips, A4, A3 and A2. The A2 chip is struck through and does not respond to the cursor. The A3 chip is selected and the address updates. A4 is selected again. The page then opens the sold-out variant: a red SOLD OUT label appears next to the price and the button turns grey.

- Image: The cart drawer open on the right. It lists a print in A4 with quantity two, a second print and a mug. The total is 105 euros with VAT shown as a separate line.

### 8. A checkout in the brand

The checkout has four steps: summary, identification, shipping and payment. It works for guests, with no account. The summary says how far the order is from free shipping. The shipping cost depends on the postal code (mainland, Balearic Islands, Canary Islands). The card is entered in Stripe's embedded payment form, styled to match the page.

- Image: Screen recording of a four-step checkout. An email is typed, then a shipping address with postal code, province and phone. The summary shows how much is missing for free shipping. A secure card field is filled with a test card number, expiry and CVC. The pay button is pressed and the order confirmation page appears with products, address and totals, followed by a prompt to create an account.

- Image: The payment step of the checkout. A stepper shows step four, Payment, as current. An embedded card form holds a test card number, expiry and CVC. A summary on the side shows the three products, a total of 105 euros and free shipping.

### 9. An account that remembers

After a purchase, the customer can create an account. It stores addresses and saved cards, and it lists every order with a status timeline. An order can leave in several parcels, each with its own carrier and tracking number. Emails confirm the order and each shipment.

- Image: Screen recording of a customer account page. An address dialog is filled and a third address appears in the list. A card dialog opens with the secure card field, a test card is entered and set as default. The orders list opens, then a shipped order with a status timeline and two parcels, each with its carrier.

- Image: An order detail page. A status timeline with five reached steps, each with a date, sits above two shipment blocks, Parcel 1 of 2 and Parcel 2 of 2, each with its carrier and tracking number.

- Image: An email template on a light grey canvas. It has a header, an order number, a list of products with prices, the shipping address, the totals and a footer line that says it is the order email template.

- Image: Three phones side by side on a light grey background. The first shows a mug product page with carousel dots under the photo. The second shows the cart drawer covering most of the screen, with a print and a mug, the VAT breakdown and how much is missing for free shipping. The third shows the account page with an Add address sheet rising from the bottom.

## Deep dives

### Physics on the landing

Each illustration is a body in a small physics simulation. A pointer release keeps the last pointer velocity, so a fling travels as fast as the hand moved. The launch fires when a marker in the hero video crosses a line near the top of the viewport, so it depends on real scrolling.

The footer logo is one SVG that turns into a canvas of small blocks on first contact. The cursor repels the blocks around it. A click pushes them hard. A hold pushes them with less strength.

### Drawing

The drawing layer is a canvas that sits above every section and only exists on the landing. A selector list marks illustrations, links and buttons as no-draw zones, and a stroke that starts on one is ignored. On the contact page there is no drawing layer, because the footer logo needs a press and hold there.

### The infinite grid and the infinite feeds

The clients grid recycles its tiles, so a grid of hundreds of avatars costs little. Zoom is exponential: the new zoom is the old one times exp(-delta x 0.0015), limited between 0.7 and 1.8, and the point under the cursor stays fixed. After a drag, the target is the position plus the release velocity times 0.2, reached by a spring.

The feeds on client and project pages render one section per item. When the top edge of a section crosses a fixed line, the app calls \`history.replaceState\` with that section's URL. No navigation happens and the history stays short, but the address is always a valid page.

### Cart, variants and stock

The cart is a Payload collection with its own endpoints to add, update, remove and merge. A guest cart lives in the browser and merges into the account cart on login. A customer cannot have two open carts. Cart lines are validated against the product and the chosen variant. The add button disables when the quantity in the cart reaches the stock.

The fly-to-cart animation is a 0.75 s arc followed by a 0.5 s ring and a 0.4 s bounce of the icon. The counter updates at the click, before the flight, so the interface never lies about the cart.

### Checkout and Stripe

The server creates the order from the cart and a Stripe PaymentIntent. The browser only confirms the payment in Stripe's form, which accepts cards only. A webhook is the source of truth: it checks the signature, then handles payment succeeded, failed and canceled events, plus refunds and disputes. Events for a PaymentIntent the app did not create are ignored.

Order handling takes PostgreSQL advisory locks, with separate namespaces for the Stripe webhook, the PaymentIntent and the order side effects. Two events for the same order cannot run at once, and a small semaphore keeps the lock work from using the whole connection pool. Order status changes append to a history, and "shipped" and "delivered" require registered shipments.

For physical products, the paid order goes to Printful.

### Account, parcels and emails

Orders can have several shipments. Each shows "Parcel i of N" with a carrier and a tracking link. A hook sends the shipment email when shipments are registered. Emails are React components rendered on the server and sent through Resend: order confirmation, shipment, account confirmation, password reset and email change. Saved cards use a Stripe SetupIntent, so the card form is the same secure field as in the checkout.

- HTML version: [https://danicalero.com/en/projects/spwn](https://danicalero.com/en/projects/spwn)
- Site index: [llms.txt](https://danicalero.com/en/llms.txt)
