This commit is contained in:
macbook-pro 2023-04-27 15:22:07 +08:00
parent 7766d07be4
commit a8cb4ab5e0
6 changed files with 9 additions and 49 deletions

View File

@ -1,26 +1,11 @@
# tokyo
terminal programs which could react with you.
---
[3Ddisplay](file/3Ddisplay.md)
[walking cat](file/walking-cat.md)
[editmytext](file/editmytext.md)
### 终端的元素
终端包括字符所在行和字符,有时还有颜色。
+ 字符所在行
+ 字符
+ 字符的颜色
### 终端的功能
目前我所能想到的终端支持的功能有`字符文件编辑器``仿GUI软件``后端软件`。
### 仿GUI软件
仿GUI软件是本文讨论的重点。仿GUI软件主要的限制还是在字符的密度不够密集所以在表现比较细致的画面时可能有点乏力。\
终端里的仿GUI软件实在是难以用来表现线性动画可能是因为一个画面的元素太多了很难线性描述也不是做不出来就是太tm复杂了太耗时间了。\
线性仿GUI软件的话基本上还是用来表现表格什么的吧。\
如果要用终端来表现动画的话还是要用图片转ASCII文件软件然后逐帧显示就好了。
### 字符文件编辑器
字符文件编辑器一般都需要用到`curses`函数库,用来实现软件的界面。
a 3D engine
---
### 3Ddisplay in the terminal
display something in the terminal in the form of 3D.
### Principle
+ graph-described file
+ picture-displayed file
+ a engine to process the file and output ascii pictures-displayed file
+ a converter to tranform pictures-displayed file into something displayed in the terminal

View File

@ -1,6 +0,0 @@
#include <curses.h>
#include <signal.h>
#include <unistd.h>
int main(){
}

View File

@ -1,8 +0,0 @@
### 3Ddisplay
display something in the terminal in the form of 3D.
### Principle
+ graph-described file
+ picture-displayed file
+ a engine to process the file and output ascii pictures-displayed file
+ a converter to tranform pictures-displayed file into something displayed in the terminal

View File

@ -1,2 +0,0 @@
### edit my text
a text-editor run in the terminal

View File

@ -1,2 +0,0 @@
### walking cat
just watch a cat walk through your screen

View File

@ -1,7 +0,0 @@
#include <curses.h>
#include <signal.h>
#include <unistd.h>
int main(){
}