Documentation

Welcome to le Crochet

A modern crochet pattern designer that lets you write patterns using CrocheTeX and see them rendered as beautiful visual diagrams in real-time.

Write Code

Use structured CrocheTeX syntax with blocks and functions

2D Diagrams

Traditional crochet symbol charts with pan and zoom

3D Visualization

Interactive 3D view showing stitch structure and yarn flow

Interactive

Real-time preview with multiple viewing modes

Getting Started

Basic Workflow

  1. Navigate to the Create page
  2. Choose an example pattern or start writing your own CrocheTeX
  3. Watch your pattern render in real-time in the preview panel
  4. Use drag and zoom controls to explore your pattern diagram
  5. Download your pattern when you're satisfied

CrocheTeX Syntax

Basic Stitches

Common Stitches (Function Call Syntax)

ch(n) - Chainsc(n) - Single Crochethdc(n) - Half Doubledc(n) - Double Crochettr(n) - Trebledtr(n) - Double Treblesl_st(n) - Slip Stitchfpdc(n) - Front Post DC

Example: Basic Foundation Chain

ch(20)
turn

sc(19)
turn

Block Structure

Core Blocks

magic_ring { }

Start circular patterns with adjustable ring

round { }

Define a round in circular patterns

row { }

Define a row in linear patterns

repeat(n) { }

Repeat enclosed stitches n times

Control Keywords

join - Join roundturn - Turn workend - End patternskip - Skip stitch

Pattern Examples

Linear Pattern (Scarf)

// Simple scarf pattern
ch(31)
turn

sc(30)
turn

repeat(50) {
  ch(1)
  sc(30)
  turn
}

end

Circular Pattern (Hat Crown)

// Basic hat crown
magic_ring {
  sc(6)
}
join

round {
  repeat(6) {
    sc(2)
  }
}
join

round {
  repeat(6) {
    sc(1)
    sc(2)
  }
}
join

end

Granny Square

// Traditional granny square
magic_ring {
  ch(3)
  dc(2)
  ch(2)
  repeat(3) {
    dc(3)
    ch(2)
  }
}
join

round {
  repeat(4) {
    ch(3)
    dc(2)
    ch(2)
    dc(3)
    ch(1)
  }
}
join

end

Advanced Features

Special Stitches

Decorative Stitches

shell(n) - Shell stitchcluster(n) - Cluster stitchpopcorn(n) - Popcorn stitchpicot - Picot loopbobble(n) - Bobble stitchpuff(n) - Puff stitch

Post Stitches

fpdc(n) - Front Post DCbpdc(n) - Back Post DCfptr(n) - Front Post TRbptr(n) - Back Post TRfphdc(n) - Front Post HDCbphdc(n) - Back Post HDC

Example: Shell Border

// Shell stitch border
repeat(10) {
  skip(2)
  shell(5)
  skip(2)
  sc(1)
}
turn

Color Changes

Color Commands

color(name) - Change yarn colorjoin_color(name) - Join new colorcut_yarn - Cut current yarn

Example: Striped Pattern

// Two-color stripe pattern
color(blue)
sc(20)
turn

color(white)
sc(20)
turn

color(blue)
sc(20)
turn

Shaping: Increases & Decreases

Increase Commands

inc - Increase by 1inc(n) - Increase by nsc_inc - SC increasedc_inc - DC increase

Decrease Commands

dec - Decrease by 1dec(n) - Decrease by nsc2tog - SC 2 togetherdc2tog - DC 2 togethersc3tog - SC 3 together

Example: Circle Shaping

// Increasing circle
magic_ring { sc(6) }
join

round { repeat(6) { inc } }
join // 12 stitches

round { repeat(6) { sc(1), inc } }
join // 18 stitches

round { repeat(6) { sc(2), inc } }
join // 24 stitches

3D Visualization Features

Interactive 3D View

View Controls

  • Rotate: Click and drag to rotate the 3D model
  • Zoom: Use mouse wheel or pinch to zoom in/out
  • Pan: Right-click and drag to pan the view
  • Reset: Double-click to reset to default view

Display Options

  • Wireframe Mode: Show stitch structure outline
  • Solid Mode: Show realistic yarn rendering
  • Stitch Highlighting: Hover to highlight individual stitches
  • Row/Round Isolation: Focus on specific sections

Crochet Symbol Legend

Standard Crochet Symbols

The 2D diagram view uses standard international crochet symbols. Here's a reference for the most common symbols:

Crochet Symbol Legend

Visual guide to all supported crochet symbols and their meanings

chChain

Foundation chain or turning chain

scSingle Crochet

Basic single crochet stitch

hdcHalf Double

Half double crochet

dcDouble Crochet

Double crochet stitch

trTreble

Treble crochet

dtrDouble Treble

Double treble crochet

slSlip Stitch

Slip stitch for joining

fpdcFront Post DC

Front post double crochet

bpdcBack Post DC

Back post double crochet

fptrFront Post TR

Front post treble

bptrBack Post TR

Back post treble

sc2togSC2TOG

Single crochet 2 together

dc2togDC2TOG

Double crochet 2 together

sc3togSC3TOG

Single crochet 3 together

dc3togDC3TOG

Double crochet 3 together

3dc-cluster3DC Cluster

3 double crochet cluster

3hdc-cluster3HDC Cluster

3 half double cluster

5dc-shell5DC Shell

5 double crochet shell

popcornPopcorn

Popcorn stitch

magic-ringMagic Ring

Adjustable loop to start circular work

3D View Guide

Yarn Connections
Structural Support
Join Connections

In 3D view, vertices represent stitches and edges show yarn flow and structural relationships

Export & Sharing

Available Export Formats

Pattern Files

  • PDF: Printable pattern with diagrams and instructions
  • TXT: Plain text CrocheTeX source code
  • JSON: Structured pattern data for sharing

Images

  • PNG: High-quality diagram images
  • SVG: Scalable vector diagrams
  • WebP: Optimized for web sharing

Sharing Options

  • Public Gallery: Share your patterns with the community
  • Direct Link: Generate shareable URLs for your patterns
  • Social Media: Optimized previews for social platforms
  • Marketplace: Sell your patterns to other crocheters
  • Embed Code: Embed interactive previews in your website

Best Practices

Writing Clean CrocheTeX

Code Organization

  • Use consistent indentation for nested blocks
  • Add comments to explain complex sections
  • Group related rounds or rows together
  • Use descriptive names for custom functions

Pattern Testing

  • Always test your patterns before sharing
  • Use the 3D preview to catch structural issues
  • Verify stitch counts at each step
  • Check gauge and sizing calculations

Performance Tips

  • Large patterns may take longer to render in 3D
  • Use the 2D view for quick previews of complex patterns
  • Break very large patterns into sections
  • Optimize repeat blocks for better performance

Getting Help

Support Resources

Community Support

  • Community Forum - Ask questions and share tips
  • Pattern Gallery - See examples from other creators
  • Discord Server - Real-time chat with other users
  • YouTube Channel - Video tutorials and walkthroughs

Direct Support

  • Contact Form - Direct support requests
  • Email Support - help@lecrochet.online
  • Bug Reports - GitHub issues for technical problems
  • Feature Requests - Submit ideas for new features