first test and frightening sparse checkout

master
km0 2 years ago
parent 2ca7b913c7
commit 9a0fe55dc6

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@ -0,0 +1,111 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>spin3d</title>
<style>
html, body {
margin: 0;
}
.container {
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: dodgerblue;
}
h1 {
font-size: 4rem;
font-family: sans-serif;
position: relative;
z-index: 50;
color: white;
margin-bottom: 0;
}
.subtitle {
font-weight: bold;
font-family: sans-serif;
color: white;
z-index: 50;
font-size: 2rem;
}
img {
position: absolute;
top: 0;
left: 0;
width: 100%;
hegiht: 100%;
object-fit: contain;
}
#front {
z-index: 100;
}
</style>
</head>
<body>
<div class="container">
<img id="back" src="backp/0001.webp" alt="">
<h1>How to make your server run 4x faster</h1>
<div class="subtitle">And other <span id="first">situated</span> code documentation <span id="second">practices</span> </div>
<img id="front" src="frontp/0001.webp" alt="">
</div>
<script>
let terms;
const front = document.querySelector('#front')
const back = document.querySelector('#back')
const container = document.querySelector('.container')
const first = document.querySelector('#first')
const second = document.querySelector('#second')
const totalImages = 36
let index = 0;
const filename = (index) => index.toString().padStart(4, '0') + '.webp'
const change = (e) => {
let newIndex = Math.floor(e.clientX / container.clientWidth * totalImages)
if (newIndex != index) {
index = newIndex
let image = filename(index+1)
front.src = `frontp/${image}`
back.src = `backp/${image}`
first.innerText = terms[index][0]
second.innerText = terms[index][1]
}
}
window.addEventListener('load', async ()=> {
terms = await fetch('terms.json').then(res=>res.json()).then(res=>res.terms)
container.addEventListener('mousemove', (e)=> change(e))
})
</script>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

@ -1 +1,51 @@
# WORK IN PROGRESS # 3d spin !!!
![cover eheh](cover.jpg)
An impostor 3d spin that uses pictures of a rotating object (in this case: soupboat) to fake 3d rotation.
This is a prototype for the grad project website! Actually the plan is to use real pictures of the soupboat and its 3d printed legs. But need to take pictures first, so here a tryout with a render.
Bonus: this happen twice: one for the background and one for the foreground. In this way we can fake depth having something passing in front and something in the background. Checkmate depth buffer.
## Some problems concerning images
This technique uses a lot of images. The script can be easily adjusted to regulate how many of them, for this first tryout i tried with 36 images for a round. (360 degrees/10). Probably could work fine just halving them, and have only 18 angles.
The point is:
- 36 images for the front +
- 36 images for the back
- = 72 pictures in total
Not really the most exciting thing to do in a website right? Take into account also the question of transparency, and suddenly the idea to have seventy png files to swap and change and download on the fly makes your cursor wandering around the browser feeling dizzy.
Then I remember that `webp` image format exists, and [I can apparently use it](https://caniuse.com/webp). It's an image format developed by Google so my inner cop was copmlaining, but look at these:
![list of 36 png files: total weight 40mb](pngs.png)
List of 36 png files, for 40mb
![list of 36 webp files: total weight 600kb](webps.png)
List of 36 webp files, for 600kb
So i would say `webp` is definitely a way to go here: you get lossy compression same as `jpeg`, but with the bonus of transparency like `png`. I would say that this is a nice deal.
## Confront discomfort
While figuring out what to do for my graduation project, the moment to decide where to make this thing public arrived. A collection of readme files is something quite digital, hence I thought ok so then it's a website? So then it's a website! So then it's a website... The instant reflex to associate digital contents with websites caused some discomfort: why do I end up always here? I feel so bored of my patterns.
![messages in a chat from the same person writing here: "bc it was the moment of thinking ok so what surface? a website? again a website?", "and we spent a bit of time insisting on this sense of discomfort", "because for me it's really natural like ok there is something to code let's make a website for it", "or let's make it browser based", "bc eventually these are the tools im most familiar with for interaction design etc", "but at the same time they carry along all this problems that i cannot really just ignore", "so one tendency is ok well we can make a website out of it and the other is ew but what about consumption? what about carbon footprint? what about best practices and accessibility"](dis1.png)
During a tutorial, Manetta suggested to stay with this discomfort for a while. To scratch a bit under its surface to see what's there. Some months ago I wrote this 30% exhausted vent in the readme of [wlist](https://git.xpub.nl/kamo/writing-list):
> A small writing machine to experiment the list format. It's again web-to-print, it's again flask, it's again markdown, it's again it's again it's again. I'm 30% sorry.
![a reply in the chat: "Lol I like the 30% sorry" - and I continue "yea she said the same aha", "and this is causing a lot of friction in my head and heart and that's why for example at some point before graduation proposal tried to experiment with bash and other forms of coding not related with the browser", "but then today had this moment with the png and webp etc", "and this is something i arrived just bc it's a surface i know and that i can explore really in depth", "bc im familiar with it and know how to navigate and how to make choices", "and here a bit this friction loosen up", "and i feel that for me it makes way more sense to stay with a tool im familiar with in order to make it work the way i want", "to be less harmful or more accessible or whatever", "than to hop to something new as soon as there is a problem", "idk it was a moment of realization"](dis2.png)
Here a bit of context: my relation with the browser started to get complicated following a growing interest in [permacomputing](https://permacomputing.net/) practices, that caused an initial allergic reaction to all kinds of javascript based applications included the one i most work with on a daily bases.
( need to elaborate this a bit more )
![replies: "It makes sense", "Sounds like an important moment", "So what does this mean" - and I continue "it means that this discomfort probably should play a role in what i make", "maybe not the main role", "but neither a hidden one", "like instead of hiding it or hiding from it to confront", "ok let's rewrite this sentence", "like instead of hiding or hiding from it, to confront it" ](dis2.png)
( possibly continuing here )

@ -0,0 +1,40 @@
{
"terms": [
["situated", "practices"],
["bizzarre", "attempts"],
["successful", "frameworks"],
["catastrophic","mistakes"],
["collaborative","sessions"],
["problematic","authors"],
["uncomprehensible","terms"],
["missing","entries"],
["violent","reports"],
["exciting","writings"],
["hand-drawn","schemes"],
["misleading","solutions"],
["dramatic","outcomes"],
["desperate", "horrors"],
["unpayable","debts"],
["idiotic","nonsense"],
["careful","work"],
["concerted","efforts"],
["unpaid","labour"],
["outdated","fossils"],
["unread","files"],
["technical","jargon"],
["complex","approaches"],
["complicated","situations"],
["lush","ecosystems"],
["gendered","manuals"],
["horizontal","organizations"],
["particular","cases"],
["incomplete","drafts"],
["auto-generated","references"],
["unfinished","projects"],
["political","fights"],
["social","drama"],
["forbidden","techniques"],
["boring","pages"],
["useful","advices"]
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Loading…
Cancel
Save