{"version":3,"file":"LorenzoInteractivePortrait.CRLUP3fW.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/ayAGRUlrbBEGyw3Y1gsM/tqnpAXVxZTj4euFM4cqv/LorenzoInteractivePortrait.js"],"sourcesContent":["// Framer Code Component: Lorenzo Interactive Portrait (Exact Replica)\n//\n// This is an exact recreation of the Three.js animation from the Lorenzo\n// Motocross landing page. It uses Three.js loaded from CDN.\n//\n// SETUP INSTRUCTIONS:\n// 1. Host your images on Vercel (or any CDN)\n// 2. Set the baseImageUrl and revealImageUrl props to your hosted image URLs\n// 3. The component will load Three.js automatically from CDN\n//\n// Example Vercel URLs:\n// - https://your-project.vercel.app/images/hero-off.png\n// - https://your-project.vercel.app/images/hero-on.png\n// @framerDisableUnlink\n// @framerIntrinsicWidth 250\n// @framerIntrinsicHeight 250\nfunction _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useRef,useState}from\"react\";// Helper function to parse vec3 string format \"1.0,1.0,1.0\"\nfunction parseVec3(vec3String){const parts=vec3String.split(\",\").map(s=>parseFloat(s.trim()));if(parts.length===3&&parts.every(n=>!isNaN(n))){return[parts[0],parts[1],parts[2]];}return[1,1,1]// Default to white if parsing fails\n;}/**\n * Advanced Torn Paper Transition Component\n * @framerDisableUnlink\n *\n * Creates a realistic torn paper reveal effect on scroll with organic edges\n * Similar to Shopify's Renaissance Edition transitions\n *\n * @author Mrframer\n */export default function LorenzoInteractivePortrait({baseImageUrl=\"\",revealImageUrl=\"\",backgroundColor=\"#FFFFFF\",blobRadius=.35,blobFadeSpeed=2.5,mobileBreakpoint=768,mobileImagePosition=\"bottom\",fadeInDelay=.2,fadeInDuration=.8,colorBgVec3=\"1.0,1.0,1.0\",colorSoftShapeVec3=\"0.961,0.961,0.961\",colorLineVec3=\"0.91,0.91,0.91\"}){const containerRef=useRef(null);const cleanupRef=useRef(null);const[isReady,setIsReady]=useState(false);const[containerSize,setContainerSize]=useState({width:0,height:0});// Watch for container size changes (important for Framer canvas)\nuseEffect(()=>{if(!containerRef.current)return;const resizeObserver=new ResizeObserver(entries=>{for(const entry of entries){const{width,height}=entry.contentRect;setContainerSize({width,height});}});resizeObserver.observe(containerRef.current);return()=>{resizeObserver.disconnect();};},[]);useEffect(()=>{if(!containerRef.current)return;const loadThreeJS=async()=>{if(window.THREE){initScene(window.THREE);return;}const script=document.createElement(\"script\");script.src=\"https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js\";script.async=true;script.onload=()=>{if(window.THREE){initScene(window.THREE);}};document.head.appendChild(script);};const initScene=THREE=>{const container=containerRef.current;if(!container)return;const width=container.clientWidth;const height=container.clientHeight;if(width===0||height===0){setTimeout(()=>initScene(THREE),50);return;}// Clean up previous instance if it exists\nif(cleanupRef.current){cleanupRef.current();cleanupRef.current=null;}// Check if mobile\nconst isMobile=width<mobileBreakpoint;// Parse vec3 color strings\nconst colorBgArray=parseVec3(colorBgVec3);const colorSoftShapeArray=parseVec3(colorSoftShapeVec3);const colorLineArray=parseVec3(colorLineVec3);const gu={time:{value:0},dTime:{value:0},aspect:{value:width/height}};const scene=new THREE.Scene;scene.background=new THREE.Color(backgroundColor);const camera=new THREE.OrthographicCamera(width/-2,width/2,height/2,height/-2,.1,1e3);camera.position.z=1;const renderer=new THREE.WebGLRenderer({antialias:true,alpha:true});renderer.setSize(width,height);renderer.setPixelRatio(Math.min(window.devicePixelRatio,2));container.appendChild(renderer.domElement);// Trigger fade-in after delay\nsetTimeout(()=>{setIsReady(true);},fadeInDelay*1e3);class Blob{render(){this.renderer.setRenderTarget(this.rtOutput);this.renderer.render(this.rtScene,this.rtCamera);this.renderer.setRenderTarget(null);const temp=this.prevRenderTarget;this.prevRenderTarget=this.rtOutput;this.rtOutput=temp;this.uniforms.prevFrame.value=this.prevRenderTarget.texture;}constructor(renderer){_define_property(this,\"renderer\",void 0);_define_property(this,\"rtOutput\",void 0);_define_property(this,\"rtScene\",void 0);_define_property(this,\"rtCamera\",void 0);_define_property(this,\"uniforms\",void 0);_define_property(this,\"prevRenderTarget\",void 0);this.renderer=renderer;this.rtOutput=new THREE.WebGLRenderTarget(width,height,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBAFormat});this.prevRenderTarget=new THREE.WebGLRenderTarget(width,height,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBAFormat});this.uniforms={pointer:{value:new THREE.Vector2(10,10)},pointerDown:{value:1},pointerRadius:{value:blobRadius},pointerDuration:{value:blobFadeSpeed},prevFrame:{value:this.prevRenderTarget.texture},time:gu.time,dTime:gu.dTime,aspect:gu.aspect};const handleMouseMove=event=>{const rect=container.getBoundingClientRect();this.uniforms.pointer.value.x=(event.clientX-rect.left)/width*2-1;this.uniforms.pointer.value.y=-((event.clientY-rect.top)/height)*2+1;};const handleTouchMove=event=>{if(event.touches.length>0){const rect=container.getBoundingClientRect();const touch=event.touches[0];this.uniforms.pointer.value.x=(touch.clientX-rect.left)/width*2-1;this.uniforms.pointer.value.y=-((touch.clientY-rect.top)/height)*2+1;}};const handleMouseLeave=()=>{this.uniforms.pointer.value.set(10,10);};container.addEventListener(\"mousemove\",handleMouseMove);container.addEventListener(\"touchmove\",handleTouchMove);container.addEventListener(\"mouseleave\",handleMouseLeave);container.addEventListener(\"touchend\",handleMouseLeave);const blobMaterial=new THREE.ShaderMaterial({uniforms:this.uniforms,vertexShader:`\n                            varying vec2 vUv;\n                            void main() {\n                                vUv = uv;\n                                gl_Position = vec4(position.xy, 0.0, 1.0);\n                            }\n                        `,fragmentShader:`\n                            uniform float time, dTime, aspect, pointerDown, pointerRadius, pointerDuration;\n                            uniform vec2 pointer;\n                            uniform sampler2D prevFrame;\n                            varying vec2 vUv;\n\n                            float hash(vec2 p) { \n                                return fract(sin(dot(p, vec2(127.1, 311.7))) * 43758.5453123); \n                            }\n                            \n                            float noise(vec2 p) {\n                                vec2 i = floor(p); \n                                vec2 f = fract(p); \n                                f = f * f * (3.0 - 2.0 * f);\n                                float a = hash(i); \n                                float b = hash(i + vec2(1.0, 0.0)); \n                                float c = hash(i + vec2(0.0, 1.0)); \n                                float d = hash(i + vec2(1.0, 1.0));\n                                return mix(mix(a, b, f.x), mix(c, d, f.x), f.y);\n                            }\n\n                            void main() {\n                                float rVal = texture2D(prevFrame, vUv).r;\n                                rVal -= clamp(dTime / pointerDuration, 0.0, 0.05);\n                                rVal = clamp(rVal, 0.0, 1.0);\n                                \n                                float f = 0.0;\n                                if (pointerDown > 0.5) {\n                                    vec2 uv = (vUv - 0.5) * 2.0 * vec2(aspect, 1.0);\n                                    vec2 mouse = pointer * vec2(aspect, 1.0);\n                                    vec2 toMouse = uv - mouse;\n                                    float angle = atan(toMouse.y, toMouse.x);\n                                    float dist = length(toMouse);\n                                    \n                                    float noiseVal = noise(vec2(angle * 3.0 + time * 0.5, dist * 5.0));\n                                    float noiseVal2 = noise(vec2(angle * 5.0 - time * 0.3, dist * 3.0 + time));\n                                    float radiusVariation = 0.7 + noiseVal * 0.5 + noiseVal2 * 0.3;\n                                    float organicRadius = pointerRadius * radiusVariation;\n                                    \n                                    f = 1.0 - smoothstep(organicRadius * 0.05, organicRadius * 1.2, dist);\n                                    f *= 0.8 + noiseVal * 0.2;\n                                }\n                                \n                                rVal += f * 0.25;\n                                rVal = clamp(rVal, 0.0, 1.0);\n                                \n                                gl_FragColor = vec4(vec3(rVal), 1.0);\n                            }\n                        `});this.rtScene=new THREE.Mesh(new THREE.PlaneGeometry(2,2),blobMaterial);this.rtCamera=new THREE.Camera;}}const blob=new Blob(renderer);const textureLoader=new THREE.TextureLoader;textureLoader.crossOrigin=\"anonymous\";let baseImage;let helmetImage;let bgPlane;// Function to calculate image position based on device\nconst calculateImagePosition=(planeHeight,containerHeight,isMobileDevice)=>{if(!isMobileDevice){return 0// Centered on desktop/tablet\n;}// On mobile, position based on setting\nswitch(mobileImagePosition){case\"bottom\":return-(containerHeight/2)+planeHeight/2;case\"top\":return containerHeight/2-planeHeight/2;case\"center\":default:return 0;}};const baseTexture=textureLoader.load(baseImageUrl,texture=>{texture.encoding=THREE.sRGBEncoding;const img=texture.image;const imgAspect=img.width/img.height;const containerAspect=width/height;// True cover behavior: scale to fill, maintaining aspect ratio\nconst scale=Math.max(width/img.width,height/img.height);const planeWidth=img.width*scale;const planeHeight=img.height*scale;baseImage.geometry.dispose();baseImage.geometry=new THREE.PlaneGeometry(planeWidth,planeHeight);// Center the image\nbaseImage.position.y=0;baseImage.position.x=0;if(helmetImage){helmetImage.geometry.dispose();helmetImage.geometry=new THREE.PlaneGeometry(planeWidth,planeHeight);helmetImage.position.y=0;helmetImage.position.x=0;}});const helmetTexture=textureLoader.load(revealImageUrl,texture=>{texture.encoding=THREE.sRGBEncoding;});const baseImageMaterial=new THREE.MeshBasicMaterial({map:baseTexture,transparent:true});baseImage=new THREE.Mesh(new THREE.PlaneGeometry(width,height),baseImageMaterial);scene.add(baseImage);const bgPlaneMaterial=new THREE.ShaderMaterial({uniforms:{texBlob:{value:blob.rtOutput.texture},time:gu.time,colorBg:{value:new THREE.Vector3(...colorBgArray)},colorSoftShape:{value:new THREE.Vector3(...colorSoftShapeArray)},colorLine:{value:new THREE.Vector3(...colorLineArray)}},vertexShader:`\n                    varying vec2 vUv;\n                    varying vec4 vPosProj;\n                    void main() {\n                        vUv = uv;\n                        gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n                        vPosProj = gl_Position;\n                    }\n                `,fragmentShader:`\n                    uniform sampler2D texBlob;\n                    uniform float time;\n                    uniform vec3 colorBg;\n                    uniform vec3 colorSoftShape;\n                    uniform vec3 colorLine;\n                    varying vec2 vUv;\n                    varying vec4 vPosProj;\n\n                    float hash(vec2 p) { \n                        return fract(sin(dot(p, vec2(127.1, 311.7))) * 43758.5453123); \n                    }\n                    \n                    float noise(vec2 p) {\n                        vec2 i = floor(p); \n                        vec2 f = fract(p); \n                        f = f * f * (3.0 - 2.0 * f);\n                        float a = hash(i); \n                        float b = hash(i + vec2(1.0, 0.0)); \n                        float c = hash(i + vec2(0.0, 1.0)); \n                        float d = hash(i + vec2(1.0, 1.0));\n                        return mix(mix(a, b, f.x), mix(c, d, f.x), f.y);\n                    }\n                    \n                    float fbm(vec2 p) {\n                        float value = 0.0;\n                        float amplitude = 0.5;\n                        for (int i = 0; i < 4; i++) {\n                            value += amplitude * noise(p);\n                            p *= 2.1;\n                            amplitude *= 0.3;\n                        }\n                        return value;\n                    }\n\n                    void main() {\n                        vec2 blobUV = ((vPosProj.xy / vPosProj.w) + 1.0) * 0.5;\n                        vec4 blobData = texture2D(texBlob, blobUV);\n                        \n                        if (blobData.r < 0.02) discard;\n\n                        vec2 uv = vUv * 3.5;\n                        vec2 distortionField = vUv * 2.0;\n                        float distortion = fbm(distortionField + time * 0.2);\n                        float distortionStrength = 0.7;\n                        vec2 warpedUv = uv + (distortion - 0.5) * distortionStrength;\n                        float n = fbm(warpedUv);\n\n                        float softShapeMix = smoothstep(0.1, 0.9, sin(n * 3.0));\n                        vec3 baseColor = mix(colorBg, colorSoftShape, softShapeMix);\n                        float linePattern = fract(n * 15.0);\n                        float lineMix = 1.0 - smoothstep(0.49, 0.51, linePattern);\n                        vec3 finalColor = mix(baseColor, colorLine, lineMix);\n\n                        gl_FragColor = vec4(finalColor, 1.0);\n                    }\n                `,transparent:true});bgPlane=new THREE.Mesh(new THREE.PlaneGeometry(width,height),bgPlaneMaterial);scene.add(bgPlane);const helmetImageMaterial=new THREE.ShaderMaterial({uniforms:{texBlob:{value:blob.rtOutput.texture},map:{value:helmetTexture}},vertexShader:`\n                    varying vec2 vUv;\n                    varying vec4 vPosProj;\n                    void main() {\n                        vUv = uv;\n                        gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n                        vPosProj = gl_Position;\n                    }\n                `,fragmentShader:`\n                    uniform sampler2D texBlob;\n                    uniform sampler2D map;\n                    varying vec2 vUv;\n                    varying vec4 vPosProj;\n\n                    void main() {\n                        vec2 blobUV = ((vPosProj.xy / vPosProj.w) + 1.0) * 0.5;\n                        vec4 blobData = texture2D(texBlob, blobUV);\n                        \n                        if (blobData.r < 0.02) discard;\n\n                        vec4 texColor = texture2D(map, vUv);\n                        gl_FragColor = texColor;\n                    }\n                `,transparent:true});helmetImage=new THREE.Mesh(new THREE.PlaneGeometry(width,height),helmetImageMaterial);scene.add(helmetImage);baseImage.position.z=0;bgPlane.position.z=.05;helmetImage.position.z=.1;const clock=new THREE.Clock;let animationId;const animate=()=>{const dt=clock.getDelta();gu.time.value+=dt;gu.dTime.value=dt;bgPlaneMaterial.uniforms.texBlob.value=blob.rtOutput.texture;helmetImageMaterial.uniforms.texBlob.value=blob.rtOutput.texture;blob.render();renderer.render(scene,camera);animationId=requestAnimationFrame(animate);};animate();const handleResize=()=>{const newWidth=container.clientWidth;const newHeight=container.clientHeight;if(newWidth===0||newHeight===0)return;camera.left=newWidth/-2;camera.right=newWidth/2;camera.top=newHeight/2;camera.bottom=newHeight/-2;camera.updateProjectionMatrix();renderer.setSize(newWidth,newHeight);gu.aspect.value=newWidth/newHeight;if(baseTexture.image){const img=baseTexture.image;// True cover behavior: scale to fill, maintaining aspect ratio\nconst scale=Math.max(newWidth/img.width,newHeight/img.height);const planeWidth=img.width*scale;const planeHeight=img.height*scale;baseImage.geometry.dispose();baseImage.geometry=new THREE.PlaneGeometry(planeWidth,planeHeight);helmetImage.geometry.dispose();helmetImage.geometry=new THREE.PlaneGeometry(planeWidth,planeHeight);bgPlane.geometry.dispose();bgPlane.geometry=new THREE.PlaneGeometry(newWidth,newHeight);// Center images\nbaseImage.position.y=0;baseImage.position.x=0;helmetImage.position.y=0;helmetImage.position.x=0;}};window.addEventListener(\"resize\",handleResize);cleanupRef.current=()=>{window.removeEventListener(\"resize\",handleResize);cancelAnimationFrame(animationId);if(container.contains(renderer.domElement)){container.removeChild(renderer.domElement);}renderer.dispose();baseTexture.dispose();helmetTexture.dispose();blob.rtOutput.dispose();blob.prevRenderTarget.dispose();scene.traverse(object=>{if(object.geometry)object.geometry.dispose();if(object.material){if(Array.isArray(object.material)){object.material.forEach(m=>m.dispose());}else{object.material.dispose();}}});};};loadThreeJS();return()=>{if(cleanupRef.current){cleanupRef.current();cleanupRef.current=null;}};},[baseImageUrl,revealImageUrl,backgroundColor,blobRadius,blobFadeSpeed,mobileBreakpoint,mobileImagePosition,fadeInDelay,colorBgVec3,colorSoftShapeVec3,colorLineVec3,containerSize]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",minWidth:250,minHeight:250,backgroundColor,cursor:\"default\",overflow:\"hidden\",touchAction:\"none\",position:\"relative\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,backgroundColor:backgroundColor,opacity:isReady?0:1,transition:`opacity ${fadeInDuration}s ease-out`,pointerEvents:isReady?\"none\":\"auto\",zIndex:10}})});}addPropertyControls(LorenzoInteractivePortrait,{baseImageUrl:{type:ControlType.Image,title:\"Base Image\",description:\"Base image (without reveal effect)\"},revealImageUrl:{type:ControlType.Image,title:\"Reveal Image\",description:\"Reveal image (with effect applied)\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#FFFFFF\"},blobRadius:{type:ControlType.Number,title:\"Blob Size\",defaultValue:.35,min:.1,max:1,step:.05,description:\"Size of the reveal blob\"},blobFadeSpeed:{type:ControlType.Number,title:\"Fade Speed\",defaultValue:2.5,min:.5,max:5,step:.1,description:\"How fast the blob fades\"},colorBgVec3:{type:ControlType.String,title:\"Blob Color: Background\",defaultValue:\"1.0,1.0,1.0\",placeholder:\"1.0,1.0,1.0\",description:\"Background color\\nFor hex to vec3: [Visit](https://airtightinteractive.com/util/hex-to-glsl/)\"},colorSoftShapeVec3:{type:ControlType.String,title:\"Blob Color: Soft Shape\",defaultValue:\"0.961,0.961,0.961\",placeholder:\"0.961,0.961,0.961\",description:\"Soft BG.\\nFor hex to vec3: [Visit](https://airtightinteractive.com/util/hex-to-glsl/)\"},colorLineVec3:{type:ControlType.String,title:\"Blob Color: Line\",defaultValue:\"0.91,0.91,0.91\",placeholder:\"0.91,0.91,0.91\",description:\"Line color.\\nFor hex to vec3: [Visit](https://airtightinteractive.com/util/hex-to-glsl/)\"},mobileBreakpoint:{type:ControlType.Number,title:\"Mobile Breakpoint\",defaultValue:768,min:320,max:1024,step:1,unit:\"px\",description:\"Width below which mobile positioning applies\"},mobileImagePosition:{type:ControlType.Enum,title:\"Mobile Position\",defaultValue:\"bottom\",options:[\"bottom\",\"center\",\"top\"],optionTitles:[\"Bottom\",\"Center\",\"Top\"],description:\"Image position on mobile devices\"},fadeInDelay:{type:ControlType.Number,title:\"Fade In Delay\",defaultValue:.2,min:0,max:2,step:.1,unit:\"s\",description:\"Delay before fade in starts\"},fadeInDuration:{type:ControlType.Number,title:\"Fade In Duration\",defaultValue:.8,min:.1,max:3,step:.1,unit:\"s\",description:\"How long the fade in animation takes\\n\\nBuilt by [Mr.Framer](https://www.instagram.com/mr.framer.in)\"}});// Set default dimensions when component is added to canvas\nLorenzoInteractivePortrait.defaultProps={width:250,height:250};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LorenzoInteractivePortrait\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"*\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LorenzoInteractivePortrait.map"],"mappings":"sMAgBA,SAAS,EAAiB,EAAI,EAAI,EAAM,CAAmI,OAA/H,KAAO,EAAK,OAAO,eAAe,EAAI,EAAI,CAAO,QAAM,WAAW,GAAK,aAAa,GAAK,SAAS,EAAI,CAAC,EAAQ,EAAI,GAAK,EAAc,CAAI,CACtL,SAAS,EAAU,EAAW,CAAC,IAAM,EAAM,EAAW,MAAM,GAAG,CAAC,CAAC,IAAI,GAAG,W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