「‍」 Lingenic

「‍」 Lingenic Compose 字 In Development

漢文 「‍」 Lingenic 字,以古法書論為機讀元語。字檔記筆之運行:鋒之入出、輕重之變、頓提折轉、筆勢連斷。非徒錄其形,亦述其書法也。正體 「‍」 Lingenic 字 將古典書法理論編碼為機器可讀的原語。.字 檔案描述毛筆如何運行以書寫每個字:筆鋒的入出、沿筆畫的輕重變化、每一點的筆法動作、筆畫之間的連接。不僅記錄字的外形,更記錄書寫的方式。简体 「‍」 Lingenic 字 将古典书法理论编码为机器可读的原语。.字 文件描述毛笔如何运行以书写每个字:笔锋的入出、沿笔画的轻重变化、每一点的笔法动作、笔画之间的连接。不仅记录字的外形,更记录书写的方式。日本語 「‍」 Lingenic 字 は古典書道理論を機械可読なプリミティブとして符号化する。.字 ファイルは筆がどのように動いて各文字を書くかを記述する:穂先の入りと出、画に沿った軽重の変化、各点での筆法動作、画の間の連接。字の形だけでなく、書き方をも記す。한국어 「‍」 Lingenic 字는 고전 서예 이론을 기계 판독 가능한 원시 요소로 부호화한다. .字 파일은 붓이 어떻게 움직여 각 글자를 쓰는지 기술한다: 붓끝의 입봉과 수봉, 획을 따른 경중의 변화, 각 점에서의 필법 동작, 획 사이의 연결. 글자의 모양뿐 아니라 쓰는 방법까지 기록한다.Tiếng Việt 「‍」 Lingenic 字 mã hóa lý thuyết thư pháp cổ điển thành các nguyên thủy máy đọc được. Tệp .字 mô tả cách bút lông di chuyển để viết mỗi chữ: sự nhập và xuất của đầu bút, biến đổi khinh trọng dọc theo nét, động tác bút pháp tại mỗi điểm, sự liên kết giữa các nét. Ghi lại không chỉ hình dạng chữ, mà còn cách viết.

GitHub: lingenic-compose-character · lingenic-compose-brush-path · lingenic-compose-pen-path

「‍」 Lingenic Compose 字 encodes classical calligraphy theory as machine-readable primitives. A .字 file describes how a brush moves to create each character: the entry and exit of the tip, pressure variations along the stroke, brush actions at each point, and continuity and breaks between strokes. It captures not just what a character looks like, but how it is written.

漢文 「‍」 Lingenic 字,以古法書論為機讀元語。字檔記筆之運行:鋒之入出、輕重之變、頓提折轉、筆勢連斷。非徒錄其形,亦述其書法也。

正體 「‍」 Lingenic 字 將古典書法理論編碼為機器可讀的原語。.字 檔案描述毛筆如何運行以書寫每個字:筆鋒的入出、沿筆畫的輕重變化、每一點的筆法動作、筆畫之間的連接。不僅記錄字的外形,更記錄書寫的方式。

简体 「‍」 Lingenic 字 将古典书法理论编码为机器可读的原语。.字 文件描述毛笔如何运行以书写每个字:笔锋的入出、沿笔画的轻重变化、每一点的笔法动作、笔画之间的连接。不仅记录字的外形,更记录书写的方式。

日本語 「‍」 Lingenic 字 は古典書道理論を機械可読なプリミティブとして符号化する。.字 ファイルは筆がどのように動いて各文字を書くかを記述する:穂先の入りと出、画に沿った軽重の変化、各点での筆法動作、画の間の連接。字の形だけでなく、書き方をも記す。

한국어 「‍」 Lingenic 字는 고전 서예 이론을 기계 판독 가능한 원시 요소로 부호화한다. .字 파일은 붓이 어떻게 움직여 각 글자를 쓰는지 기술한다: 붓끝의 입봉과 수봉, 획을 따른 경중의 변화, 각 점에서의 필법 동작, 획 사이의 연결. 글자의 모양뿐 아니라 쓰는 방법까지 기록한다.

Tiếng Việt 「‍」 Lingenic 字 mã hóa lý thuyết thư pháp cổ điển thành các nguyên thủy máy đọc được. Tệp .字 mô tả cách bút lông di chuyển để viết mỗi chữ: sự nhập và xuất của đầu bút, biến đổi khinh trọng dọc theo nét, động tác bút pháp tại mỗi điểm, sự liên kết giữa các nét. Ghi lại không chỉ hình dạng chữ, mà còn cách viết.

Multilingual Keywords

The parser accepts English and CJK keywords. All variant forms are accepted:

FormUsed inExample
Traditional Chinese正體字, 繁體字字體, 筆畫, 轉, 絲
Simplified Chinese简体字字体, 笔画, 转, 丝
Japanese Kyūjitai旧字体字體, 筆畫, 轉, 絲
Japanese Shinjitai新字体字体, 筆画, 転, 糸
Korean Hanja漢字/한자字體, 筆畫, 轉, 絲
Vietnamese Hán tựChữ Hán字體, 筆畫, 轉, 絲
Vietnamese Quốc ngữTiếng Việttự-thể, bút-hoạ, chuyển, ti

Block Keywords

English正體简体日本語한국어ViệtDescription
.font-begin.字體始.字体始.字体始.자체시.tự-thể-thủyBegin font block
.font-end.字體終.字体终.字体終.자체종.tự-thể-chungEnd font block
.brush-begin.筆始.笔始.筆始.필시.bút-thủyBegin brush definition
.brush-end.筆終.笔终.筆終.필종.bút-chungEnd brush definition
.ink-begin.墨始.墨始.墨始.묵시.mặc-thủyBegin ink definition
.ink-end.墨終.墨终.墨終.묵종.mặc-chungEnd ink definition
.character-begin.字始.字始.字始.자시.tự-thủyBegin character
.character-end.字終.字终.字終.자종.tự-chungEnd character
.stroke-begin.畫始.画始.画始.획시.hoạ-thủyBegin stroke
.stroke-end.畫終.画终.画終.획종.hoạ-chungEnd stroke
.pen-stroke.筆劃.笔划.筆画.필획.bút-nétPen stroke (typographic)

Properties

English正體简体日本語한국어ViệtDescription
units-per-em字面單位字面单位字面単位자면단위tự-diện-đơn-vịUnits per em square
script-type文字文字文字문자văn-tựScript type
regional-variant地區地区地区지역địa-khuRegional variant
advance-width字寬字宽字幅자폭tự-khoanCharacter advance width
stroke-count畫數画数画数획수hoạ-sốStroke count
brush-tip-width鋒寬锋宽穂先幅봉폭phong-khoanBrush tip width
brush-belly-width腹寬腹宽腹幅복폭phúc-khoanBrush belly width
brush-flexibility彈性弹性弾性탄성đàn-tínhBrush flexibility
bristle-typehàoBristle type
ink-concentration濃度浓度濃度농도nồng-độInk concentration
stroke-pathkínhStroke path

Entry/Exit Semantics (入鋒/收鋒)

English正體简体日本語한국어ViệtDescription
entry-style入鋒入锋入鋒입봉nhập-phongEntry style
exit-style收鋒收锋収鋒수봉thâu-phongExit style
tip-exposed露鋒露锋露鋒노봉lộ-phongVisible tip entry
tip-hidden藏鋒藏锋蔵鋒장봉tàng-phongConcealed entry
tip-extend出鋒出锋出鋒출봉xuất-phongTapered extension
tip-return回鋒回锋回鋒회봉hồi-phongReturn stroke
tip-press-lift頓收顿收頓収돈수độn-thâuPress then lift

Tip Mode (鋒法)

English正體简体日本語한국어ViệtDescription
tip-mode鋒法锋法鋒法봉법phong-phápTip mode
tip-center中鋒中锋中鋒중봉trung-phongCenter tip
brush-side-left側鋒左侧锋左側鋒左측봉좌trắc-phong-tảSide brush left
brush-side-right側鋒右侧锋右側鋒右측봉우trắc-phong-hữuSide brush right

Brush Actions (提按)

English正體简体日本語한국어ViệtDescription
brush-press-pauseđộnPress and pause
brush-liftđềLift brush
brush-sharp-turnchiếtSharp angular turn
brush-round-turnchuyểnSmooth pivot
brush-twisttỏaTwist brush
brush-settle-downtồnSettle down
brush-quick-entrythươngQuick entry

Actions appear inline in paths:

stroke-path 100,100 ⌒ 200,150 brush-press-pause 300,100 brush-sharp-turn 300,50 brush-lift

Pressure (輕重)

English正體简体日本語한국어ViệtDescription
pressure-value輕重轻重軽重경중khinh-trọngPressure value (0.0–1.0)

Inline modifier using classical 輕重 (light-heavy) concept:

stroke-path 100,100 pressure-value 0.3 ⌒ 200,150 pressure-value 0.8 ⌒ 300,100 pressure-value 0.5

Value range: 0.0 = light/輕/轻/khinh, 1.0 = heavy/重/trọng.

Stroke Connections (筆勢)

For running script (行書) and grass script (草書):

English正體简体日本語한국어ViệtDescription
stroke-connection筆勢笔势筆勢필세bút-thếConnection style
stroke-independent獨立独立独立독립độc-lậpNo connection (楷書 default)
stroke-flowing連綿连绵連綿연면liên-miênFlowing connection
stroke-thin-link牽絲牵丝牽糸견사khiên-tiVisible thin link
stroke-airborne飛渡飞渡飛渡비도phi-độImplied connection

Bristle Types (毫)

English正體简体日本語한국어ViệtDescription
bristle-goat羊毫羊毫羊毛양호dương-hàoSoft goat hair
bristle-wolf狼毫狼毫狼毛낭호lang-hàoStiff wolf hair
bristle-mixed兼毫兼毫兼毛겸호kiêm-hàoMixed hair
bristle-rabbit紫毫紫毫紫毛자호tử-hàoRabbit hair

Stroke Types

Basic Strokes (基本筆畫)

Stroke正體简体日本語한국어ViệtEnglish
hoànhHorizontal
thụVertical
丿phiếtLeft-falling
nạiRight-falling
điểmDot
đềRising

Compound Strokes (複合筆畫)

Stroke正體简体日本語한국어ViệtEnglish
橫折横折横折횡절hoành-chiếtHorizontal-turn
豎折竖折竪折수절thụ-chiếtVertical-turn
橫鉤横钩横鉤횡구hoành-câuHorizontal-hook
豎鉤竖钩竪鉤수구thụ-câuVertical-hook
橫折鉤横折钩横折鉤횡절구hoành-chiết-câuHorizontal-turn-hook
豎彎鉤竖弯钩竪彎鉤수만구thụ-oan-câuVertical-curve-hook

Path Connectors

SymbolName正體简体日本語한국어ViệtDescription
LinetrựcStraight segment
CurvekhúcSmooth curve (Hobby's algorithm)
CornergiácSharp angle break
CyclehoànClose path to start

Complete Example: 永

The character 永 (eternal) contains all basic stroke types, making it the traditional example for teaching calligraphy:

.font-begin YongExample
  units-per-em 1000
  script-type Han
  regional-variant CN

  .brush-begin main
    brush-tip-width 8
    brush-belly-width 40
    brush-flexibility 0.7
    bristle-type bristle-goat
  .brush-end

  .ink-begin black
    ink-concentration 0.85
  .ink-end

  .paper raw-xuan

  .character-begin 永 U+6C38
    advance-width 1000
    stroke-count 5

    # 1. 點 (dot) - top center
    .stroke-begin main 丶
      entry-style tip-exposed
      exit-style tip-press-lift
      tip-mode tip-center
      stroke-path 500,850 pressure-value 0.4 ⌒ 520,800 pressure-value 0.7 brush-press-pause 510,720 pressure-value 0.3
    .stroke-end

    # 2. 橫折鉤 (horizontal-turn-hook) - main frame
    .stroke-begin main ㇆
      entry-style tip-hidden 180
      exit-style tip-extend
      tip-mode tip-center
      stroke-path 200,600 pressure-value 0.5 ⌒ 450,620 pressure-value 0.6 brush-press-pause 500,600 pressure-value 0.8 brush-sharp-turn 500,300 pressure-value 0.6 ⌒ 400,150 pressure-value 0.4 brush-lift
    .stroke-end

    # 3. 橫撇 (horizontal-left-falling)
    .stroke-begin main 丿
      entry-style tip-hidden 180
      exit-style tip-extend
      stroke-path 500,500 pressure-value 0.5 ⌒ 400,450 pressure-value 0.5 brush-sharp-turn 200,250 pressure-value 0.2
    .stroke-end

    # 4. 撇 (left-falling) - lower left
    .stroke-begin main 丿
      entry-style tip-exposed
      exit-style tip-extend
      stroke-path 500,400 pressure-value 0.6 ⌒ 300,100 pressure-value 0.2
    .stroke-end

    # 5. 捺 (right-falling) - lower right
    .stroke-begin main ㇏
      entry-style tip-hidden 135
      exit-style tip-press-lift
      stroke-path 500,400 pressure-value 0.4 ⌒ 700,200 pressure-value 0.7 brush-press-pause 800,100 pressure-value 0.9
    .stroke-end

  .character-end

.font-end

Fully Classical Example

.字體始 楷書
  字面單位 1000
  文字 漢
  地區 CN

  .筆始 主
    鋒寬 8
    腹寬 40
    彈性 0.7
    毫 羊毫
  .筆終

  .字始 永 U+6C38
    字寬 1000
    畫數 5

    .畫始 主 點
      入鋒 露鋒
      收鋒 頓收
      鋒法 中鋒
      徑 500,850 輕重 0.4 ⌒ 520,800 輕重 0.7 頓 510,720 輕重 0.3
    .畫終

  .字終
.字體終

Reusable Components

Components enable defining strokes, radicals, and styles once and reusing them across characters.

Stroke Templates

.define-stroke 一-standard
  entry-style tip-hidden 180
  exit-style tip-return
  tip-mode tip-center
  stroke-path %start%,%y% pressure-value 0.3 ⌒ %mid%,%y% pressure-value 0.6 ⌒ %end%,%y% pressure-value 0.4
.end-define

Use with .use-stroke:

.stroke-begin main 一
  .use-stroke 一-standard start=100 mid=500 end=900 y=600
.stroke-end

Radical Components

.define-component 氵
  # 氵 — three-dot water radical
  .stroke-begin %brush% 丶
    .use-stroke 丶-standard x=%x%+50 y=%y%+200
  .stroke-end
  .stroke-begin %brush% 丶
    .use-stroke 丶-standard x=%x%+30 y=%y%+100
  .stroke-end
  .stroke-begin %brush% ㇀
    entry-style tip-hidden 225
    exit-style tip-extend
    stroke-path %x%,%y% pressure-value 0.3 ⌒ %x%+80,%y%+50 pressure-value 0.6
  .stroke-end
.end-define

Use with .use-component:

.character-begin 河 U+6CB3
  advance-width 1000
  stroke-count 8
  .use-component 氵 x=50 y=300 brush=main
  # ... remaining strokes
.character-end

Component Keywords

English正體简体日本語한국어ViệtDescription
.define-stroke.定畫.定画.定画.정획.định-hoạDefine stroke template
.end-define.定終.定终.定終.정종.định-chungEnd definition
.use-stroke.用畫.用画.用画.용획.dụng-hoạUse stroke template
.define-component.定部.定部.定部.정부.định-bộDefine component
.use-component.用部.用部.用部.용부.dụng-bộUse component
.define-style.定式.定式.定式.정식.định-thứcDefine style
.apply-style.用式.用式.用式.용식.dụng-thứcApply style
.include-components.入部.入部.入部.입부.nhập-bộInclude component file
.include-styles.入式.入式.入式.입식.nhập-thứcInclude style file

Pen Strokes (Typographic Styles)

For Song (宋體) and Hei (黑體) styles, use pen strokes like .lettering:

.font-begin SongFont
  .circular-pen-begin thin
    diameter 20
  .circular-pen-end

  .elliptical-pen-begin thick
    major-axis 60
    minor-axis 20
    angle 0
  .elliptical-pen-end

  .character-begin 一 U+4E00
    advance-width 1000
    .pen-stroke thick 100,500 ⏤ 900,500
  .character-end

.font-end

Regional Variants

.character-begin 直 U+76F4
  regional-variant CN
  advance-width 1000
  # ... CN strokes ...
.character-end

.character-begin 直 U+76F4
  regional-variant JP
  advance-width 1000
  # ... JP variant strokes (subtle differences) ...
.character-end

Multiple Scripts

.font-begin MixedFont
  script-type Han

  # Han characters use brush strokes
  .character-begin 字 U+5B57
    script-type Han
    # ...
  .character-end

  # Hiragana also uses brush strokes
  .character-begin あ U+3042
    script-type Hiragana
    # ...
  .character-end

  # Hangul may use pen strokes
  .character-begin 한 U+D55C
    script-type Hangul
    .pen-stroke mono 100,100 ⏤ 200,100 ⏤ 200,200
  .character-end

.font-end