Skip to content
/ Pyframe Public

Creates smooth, dynamic boxes using box-drawing characters.

Notifications You must be signed in to change notification settings

Py-mon/Pyframe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subset of Pybattle that uses the Frame classes so you can create smooth ascii boxes.

╭───────────┬───────┬────────╮
│           │       │        │
├───────╮   │ ╔═════╧═╗      │
│       │   └─╢       ║      │
│       │     ║       ║      │
├───────╯     ╚═══════╝      │
│           ╓───────┒        │
│           ║       ┃        │
│           ║  ┏━━━━┻━━━━━┓  │
│           ╙──┨          ┃  │
│              ┃  abcdef  ┃  │
│              ┃   ghij   ┃  │
│              ┃          ┃  │
╰──────────────┺━━━━━━━━━━┹──╯

image

Rounded, Smooth Box

╭───────╮
│       │
│       │
╰───────╯

Non-Rounded Box

┌───────┐
│       │
│       │
└───────┘

Double Lined Box

╔═══════╗
║       ║
║       ║
╚═══════╝

Centered Text in a Thick Box

┏━━━━━━━━━━┓
┃          ┃
┃  abcdef  ┃
┃   ghij   ┃
┃          ┃
┗━━━━━━━━━━┛

Half Double Lined, Half Thick

╓───────┒
║       ┃
║       ┃
╙───────┚

Rendered in VS Code: image

Includes support for colors!

Coming Soon:

  • Vector2D for operations between positions on placing frames
  • More Ascii tools

About

Creates smooth, dynamic boxes using box-drawing characters.

Topics

Resources

Stars

Watchers

Forks

Languages