2024-03-31
This commit is contained in:
parent
6c235d1b4c
commit
e3c61f7d78
5 changed files with 16 additions and 11 deletions
3
build.sh
3
build.sh
|
@ -41,6 +41,9 @@ rm -r color/assets/favicon.ico
|
|||
cp -r color/assets/* .
|
||||
rm -r color/assets
|
||||
rm -r color/404.html
|
||||
rm -r color/return.html
|
||||
find . -type d -print0 | xargs -I{} -0 -n 1 cp -n return.html {}/index.html
|
||||
rm -r return.html
|
||||
find . -type f -name '*.html' | sort -r | while read -r file; do
|
||||
sed -i 's/layout-padding=""/layout-padding/g' "$file"
|
||||
sed -i 's/ class="language-plaintext highlighter-rouge"//g' "$file"
|
||||
|
|
|
@ -4,7 +4,7 @@ name: "Код с комментариями"
|
|||
name_translated: "Code with comments"
|
||||
# URL адрес сайта, включая протокол
|
||||
url: "https://pomodoro1.mircloud.ru"
|
||||
# подпапка этой сборки для относительных URLs
|
||||
# подпапка этой сборки для относительных URL-ов
|
||||
baseurl: "/color"
|
||||
# ссылка в верхнем левом углу заглавных страниц
|
||||
homepage_url: "https://gitea.com/pomodoro/1"
|
||||
|
@ -20,7 +20,8 @@ author: "Головин Г.Г."
|
|||
author_translated: "Golovin G.G."
|
||||
# дополнение к подписи в футере для переведённых страниц
|
||||
translation_caption: "translation from Russian"
|
||||
# номер счётчика для страниц
|
||||
# номера счётчиков для страниц
|
||||
live_internet: "pomodoro"
|
||||
yandex_metrika: "95699479"
|
||||
# тема оформления для сборки
|
||||
theme: color-tomato-theme
|
||||
|
|
|
@ -4,7 +4,7 @@ name: "Код с комментариями"
|
|||
name_translated: "Code with comments"
|
||||
# URL адрес сайта, включая протокол
|
||||
url: "https://pomodoro1.mircloud.ru"
|
||||
# подпапка этой сборки для относительных URLs
|
||||
# подпапка этой сборки для относительных URL-ов
|
||||
baseurl: ""
|
||||
# ссылка в верхнем левом углу заглавных страниц
|
||||
homepage_url: "https://gitea.com/pomodoro/1"
|
||||
|
@ -20,7 +20,8 @@ author: "Головин Г.Г."
|
|||
author_translated: "Golovin G.G."
|
||||
# дополнение к подписи в футере для переведённых страниц
|
||||
translation_caption: "translation from Russian"
|
||||
# номер счётчика для страниц
|
||||
# номера счётчиков для страниц
|
||||
live_internet: "pomodoro"
|
||||
yandex_metrika: "95699479"
|
||||
# тема оформления для сборки
|
||||
theme: older-tomato-theme
|
||||
|
|
|
@ -62,8 +62,8 @@ Testing the experimental interface: [Volumetric tetris]({{ '/en/2023/01/22/volum
|
|||
{% include heading.html text="Experimental model" hash="experimental-model" %}
|
||||
|
||||
Slightly complicated version from the previous example — now there are a lot of cubes. In addition to the
|
||||
previous settings there can be changed: figure variant — *spatial cross* or *cross-cube*, face sorting
|
||||
direction — *linear perspective* or *reverse perspective* and transparency of the cube walls.
|
||||
previous settings there can be changed: variant of the figure — *spatial cross* or *cross-cube*, face sorting
|
||||
direction — *straight perspective* or *reverse perspective* and transparency of the cube walls.
|
||||
|
||||
<div>
|
||||
<canvas id="canvas5" width="300" height="300" style="border: 1px solid gray;">
|
||||
|
@ -126,10 +126,10 @@ direction — *linear perspective* or *reverse perspective* and transparency of
|
|||
<input type="radio" id="second" name="figure" value="second" checked>
|
||||
<label for="second">Cube</label>
|
||||
</form>
|
||||
<span>Perspective projection:</span>
|
||||
<span>Linear perspective:</span>
|
||||
<form oninput="changeOrder(event)">
|
||||
<input type="radio" id="linear" name="order" value="linear" checked>
|
||||
<label for="linear">Linear</label>
|
||||
<label for="linear">Straight</label>
|
||||
<input type="radio" id="reverse" name="order" value="reverse">
|
||||
<label for="reverse">Reverse</label>
|
||||
</form>
|
||||
|
|
|
@ -61,7 +61,7 @@ date: 2023.01.15
|
|||
|
||||
Слегка усложнённая версия из предыдущего примера — теперь кубиков много. В дополнение к предыдущим настройкам
|
||||
можно поменять: вариант фигуры — *пространственный крест* или *крест-куб*, направление сортировки граней
|
||||
— *линейная перспектива* или *обратная перспектива* и прозрачность стенок кубиков.
|
||||
— *прямая перспектива* или *обратная перспектива* и прозрачность стенок кубиков.
|
||||
|
||||
<div>
|
||||
<canvas id="canvas5" width="300" height="300" style="border: 1px solid gray;">
|
||||
|
@ -124,10 +124,10 @@ date: 2023.01.15
|
|||
<input type="radio" id="second" name="figure" value="second" checked>
|
||||
<label for="second">Куб</label>
|
||||
</form>
|
||||
<span>Перспективная проекция:</span>
|
||||
<span>Линейная перспектива:</span>
|
||||
<form oninput="changeOrder(event)">
|
||||
<input type="radio" id="linear" name="order" value="linear" checked>
|
||||
<label for="linear">Линейная</label>
|
||||
<label for="linear">Прямая</label>
|
||||
<input type="radio" id="reverse" name="order" value="reverse">
|
||||
<label for="reverse">Обратная</label>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Reference in a new issue