@startuml start : 入力データの受取 ; : 画像バッファの生成 (img) ; : 入力を行単位に分割 ; while (行データが存在するか?) : データをESCとテキストに分類 ; while (分類が存在するか?) if (分類がESCか?) then (yes) if (文字色の変更か?) then (yes) : fgColor = color ; elseif (背景色の変更か?) then (yes) : bgColor = color ; elseif (分類がリセット文字か?) then (yes) : fgColor = defaultFgColor ; : bgColor = defaultBgColor ; else (no = 到達しない) end endif elseif (分類が文字か?) then (yes) : drawBackground(img, label, posX, posY, fgColor, bgColor) ; : drawLabel(img, label, posX, posY, fgColor, bgColor) ; : posX += labelWidth ; else (no = 到達しない) end endif endwhile : posY += fontHeight ; endwhile : 画像バッファをファイルに書き込み ; end @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
Pure Javascript
PNG
SVG
ASCII Art