How Letters Become Trees | Lindenmayer

A few rewriting rules can turn a short word into instructions for a branching tree.

Lindenmayer is an open-source JavaScript L-system library by Tom Brewe (nylki). It rewrites symbols over successive rounds and can call a function for each symbol in the result.

In this demo, our drawing functions turn those symbols into lines, turns and branches. We also added the forest’s probability rules; the different trees shown use different random seeds.

Project: https://github.com/nylki/lindenmayer
Source version: https://github.com/nylki/lindenmayer/tree/94939c5f9de8de886665f382b4ea55b75192f3bf
License: MIT · Copyright (c) 2015–2016 Tom Brewe
Drawing functions, forest rules and animation: @hyun2xyz

English narration · English and Korean subtitles

#OpenSource #CreativeCoding #LSystem

한국어

짧은 단어에 규칙을 반복해서 적용하면, 나뭇가지를 그릴 긴 명령이 됩니다.

Lindenmayer는 Tom Brewe(nylki)가 만든 오픈소스 자바스크립트 L-system 라이브러리예요. 글자를 여러 라운드에 걸쳐 다시 쓰고, 결과의 각 글자에 연결한 함수를 실행할 수 있습니다.

이 영상에서는 저희가 만든 그리기 함수로 글자를 선, 회전, 가지로 바꿨어요. 숲의 확률 규칙도 저희가 추가했고, 화면 속 나무들은 서로 다른 난수 시드를 사용했습니다.

프로젝트: https://github.com/nylki/lindenmayer
영상에 사용한 버전: https://github.com/nylki/lindenmayer/tree/94939c5f9de8de886665f382b4ea55b75192f3bf
라이선스: MIT · Copyright (c) 2015–2016 Tom Brewe
그리기 함수·숲 규칙·애니메이션: @hyun2xyz

영어 내레이션 · 영어/한국어 자막

#오픈소스 #크리에이티브코딩 #LSystem