breakfastz

ซูมจากไข่ดาวถึงทั้งเมือง

ภาพลายเส้น isometric 4 ขนาด วาดด้วยโค้ดทั้งหมด ไม่มีโปรแกรมวาดรูปสักเส้น — เอาเมาส์ไปชี้ (หรือแตะบนมือถือ) แต่ละฉากตอบสนองไม่เหมือนกัน · ปุ่ม play ให้มันเล่นเอง · แถบ intensity ปรับความแรง

  1. ×1

    ที่วางจาน

    ชี้ที่ส้อม จาน มีด หรือแก้ว ชิ้นนั้นจะลอยขึ้น

    prompt ที่ใช้

    /hairline-create a breakfast placemat: a plate with a fried egg and toast, a fork, a knife and a mug. The item under the pointer lifts; the egg yolk is the bright mark at rest.
  2. ×4

    โต๊ะอาหารเช้า

    ชี้จานไหน ฝาครอบจานนั้นยกขึ้นโชว์ของข้างใน

    prompt ที่ใช้

    /hairline-create a breakfast table with three dishes under cloches (fried egg, toast, pancakes) and a mug. The dome over the dish under the pointer lifts to show the food; at rest the egg's dome sits ajar.
  3. ×16

    คาเฟ่สายพาน

    จานวิ่งออกจากครัวไม่หยุด เอาเมาส์วางบนสายพาน เวลาจะช้าลง

    prompt ที่ใช้

    /hairline-create a breakfast café counter: plates (egg, toast, pancakes, a mug) ride a conveyor belt out of a kitchen hatch. Hovering over the belt slows time, like the Slow figure.
  4. ×64

    ทั้งเมือง

    ตึกรอบเมาส์สูงขึ้นเป็นคลื่น หาคาเฟ่ที่มีไข่ดาวบนหลังคาให้เจอ

    prompt ที่ใช้

    /hairline-create a small town on a plinth: gabled houses, flat blocks, trees and a café with a fried egg on its roof. The skyline swells round the pointer, like Terrain.

อยากทำเองบ้าง

1. ใช้ 33 ฉากสำเร็จรูป (ฟรี · MIT)

npm i @lucasmarkes/hairline
import { Terrain } from "@lucasmarkes/hairline/react";

export function Hero() {
  return <Terrain />;
}

ไม่ใช้ React ก็ได้ — terrain(document.getElementById("figure"), { play: true }) ดูทุกฉากได้ที่ hairline.lucasmarkes.com

2. ให้ AI วาดฉากใหม่จากไอเดียของเรา

ต้องมี AI coding agent ที่อ่าน skill ได้ (Claude Code, Cursor, Codex ฯลฯ) — ตัวไลบรารีฟรี แต่ agent บางตัวมีค่าใช้จ่าย

npx skills add lucasmarkes/hairline

จากนั้นพิมพ์ในตัว agent ตามด้วยไอเดียของเรา (ภาษาอังกฤษได้ผลดีสุด):

/hairline-create a sales funnel

มันจะเสนอ 2–3 คอนเซปต์ให้เลือก วาดตามกฎ 10 ข้อของ hairline เปิดเบราว์เซอร์เช็กเอง แล้วส่งมาเป็นไฟล์ HTML ไฟล์เดียว เปิดได้เลยไม่ต้องติดตั้งอะไร · มี SVG อยู่แล้ว (ไอคอน/โลโก้) ใช้ /hairline-adopt ไฟล์.svg

💡 จากที่เราลอง: เลือกท่าที่ไลบรารีถนัด (ยกของ, คลื่นรอบเมาส์, ยืดเวลา) จะสวยกว่าฝืนให้เป็นอย่างอื่น — รอบแรกเราให้วาดห้องครัวกับบ้านแบบแยกชั้น ประตูทับกันมั่วจนต้องทิ้ง

เอนจินและกติกาการวาด: hairline โดย Lucas Marques (MIT) · 4 ฉากนี้สร้างด้วย skill hairline-create · โค้ด: breakfastz-hairline