Skip to content

Commit

Permalink
Merge pull request #51 from martinlaxenaire/develop
Browse files Browse the repository at this point in the history
- updated examples & tests
  • Loading branch information
martinlaxenaire authored Mar 1, 2024
2 parents c968f49 + ecfe56f commit a51c495
Show file tree
Hide file tree
Showing 51 changed files with 612 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/ajax-navigation-with-plane-removal/beach.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,17 @@ <h1>Beach</h1>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.4/gsap.min.js"></script>
<script src="view-transitions-api-utils.js" type="module"></script>
<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/ajax-navigation-with-plane-removal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,17 @@ <h1>AJAX Navigation</h1>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.4/gsap.min.js"></script>
<script src="view-transitions-api-utils.js" type="module"></script>
<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/ajax-navigation-with-plane-removal/mountain.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,17 @@ <h1>Mountain</h1>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.4/gsap.min.js"></script>
<script src="view-transitions-api-utils.js" type="module"></script>
<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/basic-plane/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,17 @@
})
})
</script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/camera-renderer-object-3d-pivot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,17 @@
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/camera-renderer-selective-dithering/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,17 @@
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/camera-renderer-transforms-bloom-pass/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,17 @@
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/canvas-text/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,17 @@ <h1>Text rendered in WebGPU</h1>
</div>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/cloth-simulation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,17 @@
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/compute-blur/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,17 @@
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/compute-boids/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,17 @@
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/compute-particles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,17 @@
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/cubemap/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,17 @@
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/custom-geometry/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,17 @@
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/custom-scroll-and-transformations/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,17 @@ <h1>Smooth scroll</h1>

<script src="https://unpkg.com/@studio-freight/lenis@1.0.36/dist/lenis.min.js"></script>
<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/deferred-rendering/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,17 @@
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/dom-meshes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,17 @@ <h2><span class="overlay-title">Sphere mesh 4</span></h2>
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/full-screen-plane-shader/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,17 @@
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/gsap-instanced-kinetic-typography/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,17 @@ <h1>

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.4/gsap.min.js"></script>
<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -298,5 +298,17 @@ <h2 class="overlay-title">Advanced rendering</h2>
}
})
</script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/instanced-planes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,17 @@ <h1>Instanced planes</h1>
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions examples/multiple-canvases-updating-renderer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,17 @@ <h1>Updating meshes renderers based on their depth position</h1>
>

<script src="main.js" type="module"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45554DLGL6"></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())

gtag('config', 'G-45554DLGL6')
</script>
</body>
</html>
Loading

0 comments on commit a51c495

Please sign in to comment.