Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
Windows Tipps & SecurityGrafikkarte vor Überhitzung schützen: So geht’s(25.09.2026 um 08:00 Uhr)
••••••••••
Windows Tipps & SecurityGrafikkarte vor Überhitzung schützen: So geht’s(25.09.2026 um 08:00 Uhr)
••••••••••
Intelligence View
⚡ tsecurity.de Intelligence

I replaced a language model with geometry: building a deterministic UI compiler that runs in your browser in 300ms

I Built a Deterministic UI Compiler Most AI UI generators have the same three problems: Slow — often taking 15–30 seconds per generation Expensive — API costs, credits, and rate limits Non-deterministic — the same input can produce differ…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

I Built a Deterministic UI Compiler



Most AI UI generators have the same three problems:



Slow — often taking 15–30 seconds per generation

Expensive — API costs, credits, and rate limits

Non-deterministic — the same input can produce different outputs every time



The third problem bothered me the most.



I wanted a system that behaved like a compiler, not a slot machine. If I gave it the same wireframe twice, I wanted the exact same result twice.



So I built D2D — a deterministic wireframe-to-React compiler that runs entirely in the browser.



The Core Idea



Most UI generation tools treat interface design as a language problem.



I think it's primarily a geometry problem.



A rectangle that's 200×40 pixels is probably an input field.



A rectangle that's 80×36 pixels is probably a button.



A large text element near the top of the page is probably a heading.



These aren't ambiguous language patterns. They're spatial patterns.



Geometry doesn't hallucinate.



Compilers don't guess.



How It Works



D2D transforms a hand-drawn wireframe into production-ready React and Tailwind code through a six-stage pipeline.




  1. Extraction



The system collects all shapes inside the selected frame, normalizes coordinates, and creates a consistent spatial representation of the layout.




  1. Classification



Elements are assigned semantic roles using a combination of direct mappings, heuristics, and exclusion rules.



Examples:



Large rectangles become inputs

Small rectangles become buttons

Decorative arrows and annotations are ignored




  1. Spatial Understanding



Hand-drawn wireframes are messy.



Nothing is perfectly aligned.



A strict pixel-based approach breaks immediately.



To handle this, D2D builds a spatial graph that measures alignment strength using Gaussian decay scoring.



Elements that are "close enough" form alignment groups, allowing the system to understand rows, columns, and layout intent even when sketches are imperfect.




  1. Layout Architecture



The compiler constructs a parent-child hierarchy using containment analysis.



Containers, sections, cards, and nested groups emerge from the geometry itself.



Additional pattern-detection rules identify common structures such as:



Hero sections

Feature grids

Cards

Forms

Navigation bars

Call-to-action blocks




  1. Design Identity



A simple style selection expands into a complete design system.



A single preset generates:



Color tokens

Typography scales

Spacing systems

Shadows

Animations

Component styling rules



Current presets include:



Startup Modern

Corporate Clean

Bold Creative

Minimal Elegant

Dashboard Dense

Glass Gradient




  1. Code Generation



The final stage assembles React and Tailwind components.



The output is production-ready code, typically ranging from 100 to 700 lines depending on complexity.



Determinism



The entire pipeline is deterministic.



There is no randomness.



No AI model.



No API calls.



No hidden probability distributions.



Content selection uses stable hashing, ensuring identical inputs always produce identical outputs.



To verify this, I built a test suite that runs the same wireframe through the compiler 100 times and compares every generated character.



The output is always identical.



The Recipe System



Sometimes you don't want to draw a wireframe.



You just want a starting point.



D2D includes a recipe system that generates complete layouts from a page type and industry combination.



Examples:



SaaS + Technology

Landing Page + Healthcare

Portfolio + Creative Agency

Dashboard + Finance



With 8 page types and 10 industries, the system currently supports 80 unique combinations.



If a wireframe is present, your sketch takes priority and the recipe fills in missing sections.



Results

Generation Time: <300ms

API Calls: 0

Cost Per Generation: ₹0

Runs Entirely in Browser

Deterministic Output: Guaranteed

Try It



https://tryd2d.xyz



No signup required.



I'm especially interested in feedback on the spatial graph.



If you've worked on layout engines, compilers, or design tooling, I'd love to hear how you'd approach the problem of hand-drawn alignment and geometric ambiguity.

1. Sofort-Triage & Abwehrmaßnahmen

SOC Incident Playbook: Vulnerability Remediation & Verification
Syntax validiert (0 Fehler)
title: Detect Exploitation - I replaced a language model with geometry: building a deterministic UI compiler that runs in your browser in 300ms
id: 37ba737b-2766-433c-b62f-f59f79708f35
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-26
logsource:
  category: network_connection
  product: any
detection:
  selection:
      DestinationHostname:
        - 'tryd2d.xyz'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
Syntax validiert (0 Fehler)
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-26"
        description = "YARA Signature for "
    strings:
        $str = "I replaced a language model wi" ascii wide
    condition:
        any of them
}
Syntax validiert (0 Fehler)
index=security sourcetype IN ("cisco:asa", "pan:traffic", "zeek_conn", "suricata", "WinEventLog:Security")
(dest_host="tryd2d.xyz")
| stats count earliest(_time) as first_seen latest(_time) as last_seen by src_ip, dest_ip, dest_host, signature
| eval first_seen=strftime(first_seen, "%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen, "%Y-%m-%d %H:%M:%S")
| sort - count
Syntax validiert (0 Fehler)
destination.domain: ("tryd2d.xyz") and event.category: "network"
Syntax validiert (0 Fehler)
CommonSecurityLog
| where DestinationHostName in ("tryd2d.xyz")
| summarize EventCount = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by SourceIP, DestinationIP, DestinationPort, Activity
| extend DetectionRule = "iShareStuff-CTI-Compiled"
| sort by EventCount desc

2. Cyber Threat Intelligence & Forensik

IoC Intelligence (1 Indikatoren)
tryd2d[.]xyz
CTI Threat Relationship Graph2 Knoten / 1 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
🎯
MITRE ATT&CK Matrix Navigator 14 Taktiken
Reconnaissance
-
Resource Development
-
Initial Access
Execution
Persistence
-
Privilege Escalation
Defense Evasion
Credential Access
-
Discovery
-
Lateral Movement
-
Collection
-
Command and Control
Exfiltration
-
Impact
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich I replaced a language model with geometr.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

⚡ Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I replaced a language model with geometry: building a deterministic UI compiler that runs in your browser in 300ms

Thematisch verwandte Begriffe: replaced, language, model, with · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-100536 | OpenClaw versions before 2026.8.1 fail to validate all source fields in…
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag