regal-website

byMarcelino Justo

You are an expert AI web developer and creative engineer tasked with building a website named “BrickCanvas”, a professional platform that transforms any digital painting, photograph, or artwork into a collector-quality LEGO® mosaic set. Goal: Build a responsive, visually elegant, and intuitive website that guides users through the complete process of turning 2D artworks into physical 3D LEGO mosaics. Core Features: 1. Image Upload and Processing: Users upload a digital artwork (JPEG, PNG, or TIFF). The system automatically analyzes color, depth, and contrast to generate a LEGO-compatible pixel mapping. 2. Smart Brick Mapping Engine: Convert the image into a LEGO color palette (based on LEGO’s current color catalog). Calculate mosaic dimensions, brick counts, and optimal layout for both aesthetic fidelity and buildability. 3. 3D Mosaic Visualization: Display a rotatable, interactive 3D preview (using WebGL or Three.js) that simulates the completed mosaic. 4. Instruction Book Generator: Automatically create step-by-step digital building instructions inspired by The LEGO® Builder’s Handbook – Become a Master Builder. • Include detailed layer-by-layer assembly steps. • Provide realistic part inventories per step, with part IDs. • Offer downloadable PDF instructions formatted in LEGO-style blueprints. 1. Order and Export Options: • Export digital build files in common LEGO design formats (e.g., BrickLink Studio `.io`, LDraw `.ldr`). • Generate a purchasable parts list with BrickLink or LEGO Pick-a-Brick API integration. • Option to order a custom collector’s kit (with packaging designed from the uploaded image). 1. User Dashboard: Let users save, share, and download their creations. Add social sharing for showcasing completed mosaics. Design Guidelines: • Aesthetic: Clean interface with LEGO-like playful minimalism. White background, vibrant accent colors. • Interaction Flow: Upload → Preview Mosaic → Customize Size/Colors → Generate Instructions → Export or Order Set. • Accessibility: Tooltips, visual previews, progress bar for instruction generation. • Include gamified touches such as “Master Builder Level” progress indicators. Backend & AI Components: • Use a diffusion-based color quantization model trained on LEGO color palettes. • Integrate OpenCV for image segmentation and dominant color extraction. • Utilize Three.js or Babylon.js for 3D rendering of the mosaic. • Use LangChain or similar orchestration frameworks for chaining individual AI tools (image analysis, build step generation, instruction formatting). Deliverables: • Fully functional website prototype runnable on a local server. • Auto-generated documentation describing installation, dependencies, and usage. • Sample input and output (e.g., “Starry Night” → 3D LEGO mosaic PDF instructions + 3D model preview). Tone and Presentation: Write in an inspiring and educational tone, encouraging users to “become a Master Builder.” Present instructions in a LEGO manual–style voice, friendly but technical, using visual callouts and color-coded layers. Objective: At the end, users should be able to: • Upload any artwork • Generate a collector-grade LEGO mosaic set • Follow real build steps to assemble it in the physical world • Order or share their personalized masterpiece Important: Ensure copyright compliance for uploaded artworks and include licensing acknowledgment guidelines

LandingLoginSignupInstructionsExportUploadSubmitOrderDashboard
Landing

Comments (0)

No comments yet. Be the first!

Project Tasks22

#1

Implement Theme & Structure

Backlog

As a user, I want the scaffold pages (home, login, signup, welcome, dashboard/overview, dashboard/ai-assistant, dashboard/settings) to visually match the mock-design pages exactly. Apply the Architectural Marble color palette (#F4F1EB background, #E6E0D8 surface, #3C3B37 text, #B28A5E and #7A9D5E accents, #D5CEC3 muted tones), elegant serif headings, clean sans-serif body, smooth fade-in/gentle-rise transitions, and structured vertical hierarchy. Remove any pages not needed by the user flows. This task is independent and must be completed first.

AI 80%
Human 20%
High Priority
2 days
AI Credits:6
Frontend Developer
#3

Build Login Page

Backlog

As a user, I want to sign in to my account via the Login page so I can access my dashboard and creations. The page should follow the established theme and link back to the Landing page and forward to the Dashboard. Implement form validation and error states.

Depends on:#1
Waiting for dependencies
AI 85%
Human 15%
High Priority
1 day
AI Credits:5
Frontend Developer
#4

Build Signup Page

Backlog

As a user, I want to create a new account via the Signup page so I can start building LEGO mosaics. The page should follow the established theme and link from the Landing page, then forward to the Dashboard upon successful registration. Implement form validation and error states.

Depends on:#1
Waiting for dependencies
AI 85%
Human 15%
High Priority
1 day
AI Credits:5
Frontend Developer
#2

Build Landing Page

To Do

As a user, I want to experience the 'Mosaic Vault' landing page based on the existing JSX design (Landing v2). Implement the animated vault door opening, rotating gallery of LEGO mosaic masterpieces, hover 3D preview effects, dynamic warm marble background, Master Builder Level gamification bar, and 'Start Your Masterpiece' CTA button. This is the entry point for all three user personas (Enthusiast Builder, Aspiring LEGO Designer, Collector) and links to Login and Signup pages.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
AI Credits:8
Frontend Developer
#5

Build Dashboard Page

Backlog

As a user, I want a personal Dashboard where I can view my saved creations and portfolio, track my Master Builder Level progress, and navigate to upload new artwork, view existing mosaics, or save completed designs. This page is the hub for Enthusiast Builder, Aspiring LEGO Designer, and Collector personas post-login, linking to the Upload page and individual creation pages.

Depends on:#1#4#3
Waiting for dependencies
AI 80%
Human 20%
High Priority
2 days
AI Credits:7
Frontend Developer
#6

Build Upload Page

Backlog

As a user, I want to upload my digital artwork (JPEG, PNG, or TIFF) via the Upload page so the system can process it into a LEGO mosaic. The page should include drag-and-drop upload, file format validation, upload progress indicator, and copyright/licensing acknowledgment. Links from Dashboard and proceeds to the Studio preview page upon successful upload.

Depends on:#5
Waiting for dependencies
AI 80%
Human 20%
High Priority
1.5 days
AI Credits:6
Frontend Developer
#22

Implement Dashboard Creations API

To Do

As a user, I want backend APIs to save, retrieve, share, and delete my LEGO mosaic creations from my personal dashboard, including metadata like creation date, mosaic size, and Master Builder Level progress.

Depends on:#5
Waiting for dependencies
AI 80%
Human 20%
High Priority
2 days
AI Credits:6
Backend Developer
#7

Build Studio Preview Page

To Do

As a user, I want to preview my uploaded artwork as an interactive 3D LEGO mosaic in the Studio page so I can visualize the final result. Implement a Three.js rotatable 3D mosaic viewer, loading/progress indicator, and options to proceed to customization or re-run the preview. Links from Upload and leads to Customize Mosaic. Used by all three personas.

Depends on:#6
Waiting for dependencies
AI 75%
Human 25%
High Priority
3 days
AI Credits:9
Frontend Developer
#15

Implement Image Upload API

To Do

As a user, I want to use a backend API to upload my artwork so the system can process it into a LEGO mosaic. Implement a FastAPI endpoint accepting JPEG, PNG, and TIFF uploads, store files securely, and trigger the image processing pipeline. Returns a job ID for status polling.

Depends on:#6
Waiting for dependencies
AI 80%
Human 20%
High Priority
2 days
AI Credits:7
Backend Developer
#12

Build Order Parts List Page

Backlog

As a user, I want to view and manage a purchasable parts list on the Order page so I can acquire the exact bricks needed to build my mosaic. Display brick counts, LEGO color-mapped parts, and integration with BrickLink or LEGO Pick-a-Brick. Links from Studio Preview and leads to Customize Kit. Used primarily by the Collector persona.

Depends on:#7
Waiting for dependencies
AI 78%
Human 22%
Medium Priority
2 days
AI Credits:7
Frontend Developer
#8

Build Studio Customize Page

Backlog

As a user, I want to customize my LEGO mosaic in the Studio page by adjusting the size, color palette, and brick layout so I can fine-tune the design before exporting or ordering. Includes controls for mosaic dimensions, LEGO color palette selection, and selective re-run capability for specific outputs. Links from Studio Preview and leads to Instructions or Export/Order pages.

Depends on:#7
Waiting for dependencies
AI 75%
Human 25%
High Priority
2.5 days
AI Credits:8
Frontend Developer
#16

Implement Brick Mapping Engine API

Backlog

As a user, I want the backend to use OpenCV and a LEGO color palette to convert my uploaded image into a brick-mapped mosaic layout, calculating dimensions, brick counts, and optimal arrangement for aesthetic fidelity. Returns brick map data consumed by the 3D Studio preview.

Depends on:#15
Waiting for dependencies
AI 70%
Human 30%
High Priority
3 days
AI Credits:9
AI Engineer
#13

Build Order Customize Kit Page

To Do

As a user, I want to customize my collector's kit on the Order Customize page so that my physical LEGO set includes personalized packaging designed from my uploaded artwork. Allows configuration of packaging design and kit options. Links from Order Parts List and leads to Order Confirm Purchase.

Depends on:#12
Waiting for dependencies
AI 78%
Human 22%
Medium Priority
1.5 days
AI Credits:6
Frontend Developer
#9

Build Instructions Page

To Do

As a user, I want to generate and view step-by-step LEGO-style building instructions on the Instructions page so I can physically assemble my mosaic. Display layer-by-layer assembly steps, part inventories with IDs, and a downloadable PDF formatted in LEGO-style blueprints. Links from Studio Customize and leads to Dashboard Save Creation. Used primarily by the Enthusiast Builder persona.

Depends on:#8
Waiting for dependencies
AI 80%
Human 20%
High Priority
2.5 days
AI Credits:8
Frontend Developer
#17

Implement 3D Mosaic Preview API

To Do

As a user, I want a backend API to provide the processed mosaic data (brick positions, colors, dimensions) so the frontend Three.js renderer can display an interactive 3D preview. Endpoint returns structured JSON compatible with the Studio Preview page.

Depends on:#16
Waiting for dependencies
AI 75%
Human 25%
High Priority
2 days
AI Credits:7
Backend Developer
#10

Build Export Page

To Do

As a user, I want to export my LEGO mosaic design from the Export page in digital build file formats (.io or .ldr) so I can use them in LEGO design tools. Provide download options for BrickLink Studio and LDraw formats. Links from Studio Customize and leads to Submit to LEGO Ideas. Used primarily by the Aspiring LEGO Designer persona.

Depends on:#8
Waiting for dependencies
AI 80%
Human 20%
Medium Priority
1.5 days
AI Credits:6
Frontend Developer
#14

Build Order Confirm Page

Backlog

As a user, I want to review and confirm my order on the Order Confirm page so I can complete the purchase of my custom LEGO collector's kit. Display order summary, total cost (free for now), and confirmation action. Links from Customize Kit and completes the Collector user flow.

Depends on:#13
Waiting for dependencies
AI 80%
Human 20%
Medium Priority
1 day
AI Credits:5
Frontend Developer
#18

Implement Mosaic Customization API

Backlog

As a user, I want to use a backend API to apply customizations (size, color palette adjustments) to my mosaic and receive an updated brick map, supporting the selective re-run capability without re-uploading artwork.

Depends on:#17
Waiting for dependencies
AI 75%
Human 25%
High Priority
2 days
AI Credits:7
Backend Developer
#11

Build Submit to LEGO Page

To Do

As a user, I want to submit my mosaic design to LEGO Ideas from the Submit page so it can gain recognition and potentially be officially produced. Include a submission form, design summary preview, and confirmation state. Links from Export page. Used primarily by the Aspiring LEGO Designer persona.

Depends on:#10
Waiting for dependencies
AI 78%
Human 22%
Medium Priority
1.5 days
AI Credits:6
Frontend Developer
#21

Implement Parts List API

Backlog

As a user, I want a backend API that integrates with BrickLink and LEGO Pick-a-Brick APIs to generate a purchasable parts list from my mosaic brick map, including brick IDs, quantities, and pricing information (free access for all users).

Depends on:#18
Waiting for dependencies
AI 70%
Human 30%
Medium Priority
2.5 days
AI Credits:8
Backend Developer
#20

Implement Export Build Files API

Backlog

As a user, I want a backend API to export my mosaic design as digital build files in BrickLink Studio (.io) and LDraw (.ldr) formats so I can use them in external LEGO design applications.

Depends on:#18
Waiting for dependencies
AI 75%
Human 25%
Medium Priority
2 days
AI Credits:7
Backend Developer
#19

Implement Instructions Generator API

Backlog

As a user, I want a backend API using LangChain orchestration to automatically generate step-by-step LEGO-style building instructions from my brick map, including layer-by-layer assembly steps, part inventories per step with part IDs, and a PDF export in LEGO-style blueprint format.

Depends on:#18
Waiting for dependencies
AI 70%
Human 30%
High Priority
3 days
AI Credits:9
AI Engineer
Landing: View Vault
Login: Sign In
Dashboard: View Portfolio
Upload: Submit Artwork
Studio: Preview Mosaic
Studio: Customize Mosaic
Export: Download Build File
Submit: Send to LEGO Ideas