• he/him

one more cute disaster… it’s hard here in paradise

last.fm listening



kokoscript
@kokoscript
This page's posts are visible only to users who are logged in.

twilight-sparkle
@twilight-sparkle
This page's posts are visible only to users who are logged in.

xkeeper
@xkeeper
Sorry! This post has been deleted by its original author.

bruxisma
@bruxisma

I've always wanted something like this but for Game UIs, even if it's not real because I know the nightmare shit that happens there. But it would still be rad as hell if it was possible to do.


You must log in to comment.

in reply to @kokoscript's post:

correct me if im wrong but. isnt this pretty easy to do with some JS?

something like

let recurse = (el, n=1) => {
  el.style.transform = `translate3D(0, 0, ${n})`
  el.children.forEach(child => recurse(child, n+1))
}

wouldnt be blocks but still cool as fuck

i don't really know how to use css 3d transforms but that doesn't seem to work

{
let recurse = (el, n=1) => {
  if(el.style) el.style.transform = `translate3d(0, 0, ${n}px)`;
  if(el.childNodes) el.childNodes.forEach(child => recurse(child, n+1))
}
recurse(document.body);
document.body.style.perspective = "80px";
document.body.style.transform = "rotate3d(1,0,0,30deg)";
}

it doesn't seem to make nodes different heights

in reply to @xkeeper's post:

in reply to @bruxisma's post: