发信人: JuliaFrank (小卡那), 信区: ANSI
标 题: Re: 第二章作业 by kevinlow
发信站: 日月光华 (2008年07月23日12:04:21 星期三), 站内信件
透明色和走马灯都做得不错,特别第一幅一石二鸟,创意很赞^^
代码还可以再简化一些。由于B和C的前景色是一样的,而32已经写在B的代码里了,所以
C的代码可以写成*[42m
再接再厉哦^^
【 在 JuliaFrank (小卡那) 的大作中提到: 】
: 3.简化以下代码。(书面提交,提交简化后代码及显示效果)
: *[1m*[4m*[5m*[33;45;31mA*[0m*[44;45;32mB*[0m*[42;32mC*[0m
: ==============================================
: *[1;4;5;45;31mA*[0;45;32mB*[0;42;32mC*[m
: ABC
: 2. 使用透明色效果制作一个ANSI。(书面提交,形式不限)
:
: █
: ██
: ███
: .................(以下省略)
--
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: 10.26.51.200]
Sender: JuliaFrank , message area: ANSI
Title: Re: Chapter 2 Homework by kevinlow
Sending site: Sun and Moon Guanghua Wednesday, July 23, 2008 12:04:21, site mail
The transparent color and revolving lantern are both well done. Especially the first one kills two birds with one stone. The creativity is great^^
The code can be simplified further. Since the foreground colors of B and C are the same, and 32 is already written in the code of B, so
The C code can be written as *[42m
Keep up the good work^^
In Julia Frank's masterpiece, it is mentioned:
: 3. Simplify the following code and submit it in writing. Submit the simplified code and display effect.
: *[1m*[4m*[5m*[33;45;31mA*[0m*[44;45;32mB*[0m*[42;32mC*[0m
:
: *[1;4;5;45;31mA*[0;45;32mB*[0;42;32mC*[m
:ABC
: 2. Use transparent color effects to create an ANSI written submission in any form
:
:
:
:
: ............. omitted below
Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 10.26.51.200]