Initial commit

This commit is contained in:
Adsooi 2023-02-27 01:26:17 +01:00
commit 716a818e42
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
16 changed files with 991 additions and 0 deletions

View file

@ -0,0 +1,13 @@
.scene figure.cylinder.textured { // TODO: Add other elements with strips.
// Maps a texture on a cylinder from left to right
--pstripcount: var(--strip-count, 24);
--ptexture: var(--texture, transparent);
@for $i from 1 to 90 {
& > .strip-#{$i} {
background: no-repeat space calc(100% * #{$i - 1} / (var(--pstripcount) - 1)) 0/calc(100% * (var(--pstripcount) - 1)) 100% var(--ptexture);
}
}
}