Thanks a lot for that feedback, while I kept experimenting with p5.js and how to achieve this effect I got that far:
With the following code:
let img
let shadow
function preload() {
//img = loadImage(‘test.png’);
img = createGraphics(400,400)
img.fill(‘black’)
img.noStroke()
img.textSize(100)
img.text(“VIZN.”,0,80)
img.text(“VIZN.”,50,180)
img.text(“VIZN.”,20,280)
img.filter(BLUR, 0)
}
function setup() {
createCanvas(400, 400,WEBGL);
}
function draw() {
background(‘white’);
rotateX(PI/4)
rotateZ(PI/8)
scale(4)
texture(img)
textureMode(NORMAL);
beginShape(TRIANGLE_STRIP);
for(let i=0;i<10;i++){
let posX = map(i,0,9,-40,40);
let posZ = map(sin(millis()*.005 + i),-1,1,0,5)
vertex(posX,-40,posZ,i/9,0)
vertex(posX,40,posZ,i/9,1)
}
endShape()
noStroke()
plane(80,80)
}