Skip to content

Latest commit

 

History

History
114 lines (91 loc) · 3.69 KB

howto.md

File metadata and controls

114 lines (91 loc) · 3.69 KB
  • g o a t s e x * g o a t s e x * g o a t s e x * g o * g g o / \ \ / \ o a| | \ | | a t| . | | : t s | | | | s e \ | / / \\ --________ \ : e x \ / _--~~ ~--________| \ | x
  • \ _-~ ~-\ | * g _ \ .--------.| | g o \ _// _ ___ _______ (_(> \ | o a \ . C ) ____________ ((__> | / a t /\ | C ____)/ \ (> |_/ t s / /| C_) hello user | (> / \ s e | ( C_) welcome from | // / / \ e x | \ |_ \____________/// (/ | x
  • | \ _) `---- --------' | * g | _ \ /_ / | g o | / | | \ | o a | | / \ \ | a t | / / | | \ |t s | / / _/___/ | |s e | / | | | |e x | | | | | |x
  • g o a t s e x * g o a t s e x * g o a t s e x * g o *

create new image (render lines into block line by line) and then fit the line width by shifting and duplicating horizontal lines in right part of image

we should have some 2d matrix in which we'll store the rendered image we should render text and then impose some immutable parts of original image to it as a frame:

top part of frame

  • g o a t s e x * g o a t s e x * g o a t s e x * g g o / \ \ / \ o a| | \ | | a t| . | | : t s | | | | s e \ | / / \\ --__ \ : e x \ / _--~~ ~--__| \ | x
  • \ _-~ ~-\ | * g _ \ .--------.| | g o \ _// _ ___ _ (_(> \ | o a \ . C ) ______ ((__> | / a t /\ | C ____)/ \ (____> |_/ t

bottom part of frame

e | ( C____)_/ // / / \ e x | \ | \___// (/ | x

  • | \ ____) `---- --' | * g | _ \ / / | g o | / | | \ | o a | | / \ \ | a t | / / | | \ |t s | / / _/_/ | |s e | / | | | |e x | | | | | |x
  • g o a t s e x * g o a t s e x * g o a t s e x *

left center part of frame

g _ \ _.- o \ _// _ a \ . C ) _ t /\ | C )/ s / /| C) e | ( C)_ x | \ | \_

  • | \ ____) `-- g | _ ___
    o | /
    a | | / t | / / | s | / /
    e | /
    x | |
  • g o a t s e x * g o a

right center part of frame

~--| \ | x
~-\ | * ---.
| | g _ ((> \ | o _ ((> | / a \ (_____> |/ t | (_> / \ s _/ // _/ / \ e // (/ | x --' | * / _/ | g | \ | o

we need to find optiomal subpatterns in which we can place any text parts