🎨 add new svg logo

This commit is contained in:
ValKmjolnir 2024-08-16 23:02:27 +08:00
parent 52dfd52f39
commit 55f8485561
7 changed files with 41 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# __Nasal - Modern Interpreter__
# <img src="./doc/svg/nasal_transparent.svg" height="50px"/> __Nasal - Modern Interpreter__
<img src="./doc/pic/header.png" style="width:600px"></img>

View File

@ -1,4 +1,4 @@
# __Nasal - Modern Interpreter__
# <img src="./svg/nasal_transparent.svg" height="50px"/> __Nasal - Modern Interpreter__
<img src="../doc/pic/header.png" style="width:600px"></img>

18
doc/svg/nasal.svg Normal file
View File

@ -0,0 +1,18 @@
<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<rect width="100" height="100" fill="#9eb0d8"/>
<g transform="translate(6,0)">
<g fill="#1d2c4e">
<!-- left side -->
<path d="M 10 10 L 10 80 L 20 90 L 25 90 L 25 20 L 15 10 Z"/>
<path d="M 10 10 L 85 85 L 85 90 L 70 90 L 10 30 Z"/>
<!-- right-up corner -->
<path d="M 30 10 L 70 50 L 70 55 L 30 15 Z" />
<path d="M 30 10 L 40 10 L 70 40 L 70 55 Z" />
<path d="M 30 10 L 80 10 L 80 15 L 30 15 Z" />
<path d="M 72 10 L 72 55 L 65 55 L 65 10 Z" />
<path d="M 55 10 L 70 25 L 70 35 L 45 10 Z"/>
<path d="M 70 55 L 65 55 L 55 45 L 55 35 Z"/>
<path d="M 70 10 L 80 10 L 80 15 L 70 25 Z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 787 B

View File

@ -0,0 +1,18 @@
<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<!-- <rect width="100" height="100" fill="#9eb0d8"/> -->
<g transform="translate(6,0)">
<g fill="#6e93e9">
<!-- left side -->
<path d="M 10 10 L 10 80 L 20 90 L 25 90 L 25 20 L 15 10 Z"/>
<path d="M 10 10 L 85 85 L 85 90 L 70 90 L 10 30 Z"/>
<!-- right-up corner -->
<path d="M 30 10 L 70 50 L 70 55 L 30 15 Z" />
<path d="M 30 10 L 40 10 L 70 40 L 70 55 Z" />
<path d="M 30 10 L 80 10 L 80 15 L 30 15 Z" />
<path d="M 72 10 L 72 55 L 65 55 L 65 10 Z" />
<path d="M 55 10 L 70 25 L 70 35 L 45 10 Z"/>
<path d="M 70 55 L 65 55 L 55 45 L 55 35 Z"/>
<path d="M 70 10 L 80 10 L 80 15 L 70 25 Z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 796 B

View File

@ -1,4 +1,4 @@
# __Tutorial__
# <img src="./svg/nasal_transparent.svg" height="50px"/> __Tutorial__
![mandelbrotset](../doc/pic/mandelbrotset.png)

View File

@ -1,4 +1,4 @@
# __教程__
# <img src="./svg/nasal_transparent.svg" height="50px"/> __教程__
![mandelbrotset](../doc/pic/mandelbrotset.png)

View File

@ -44,7 +44,7 @@ std::ostream& logo(std::ostream& out) {
<< " - http://fgprc.org\n"
<< " - http://fgprc.org.cn\n"
<< "\n"
<< "input <nasal -h> to get help .\n\n";
<< "input <nasal -h> to get help.\n\n";
return out;
}