-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive-index.html
171 lines (158 loc) · 6.56 KB
/
archive-index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!-- ---
layout: default
title: A-Frame Portfolio
permalink: /index.html
--- -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Charity Everett WebXR Production Portfolio</title>
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-event-set-component.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-layout-component.min.js"></script>
<script src="https://rawgit.com/mayognaise/aframe-gif-shader/master/dist/aframe-gif-shader.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/[email protected]/dist/aframe-extras.min.js"></script>
<script>
AFRAME.registerComponent("change-scene", {
schema: {
sceneUrl: { type: "string", default: "" }
},
init: function () {
var el = this.el;
var data = this.data;
el.addEventListener("click", function () {
if (data.sceneUrl) {
window.location.href = data.sceneUrl;
}
});
el.addEventListener("collide", function (e) {
if (data.sceneUrl) {
window.location.href = data.sceneUrl;
}
});
}
});
AFRAME.registerComponent('open-url', {
schema: {
url: {type: 'string'}
},
init: function () {
var data = this.data;
var el = this.el;
el.addEventListener('click', function () {
window.open(data.url, '_blank');
});
}
});
</script>
</head>
<body>
<a-scene embedded physics="debug: true" style="height: 100vh; width: 100vw">
<a-assets>
<img id="gif1" crossorigin="anonymous" src="https://cdn.glitch.global/5cfc02c2-e08f-4e29-9383-05c3fa57335f/Microservices%20Architecture%20Animated%20Infographic.gif?v=1728249005775" />
<img id="gif2" crossorigin="anonymous" src="https://cdn.glitch.global/5cfc02c2-e08f-4e29-9383-05c3fa57335f/Role%20Prompting%20Animated%20Infographic.gif?v=1728249018792.gif" />
<img id="gif3" crossorigin="anonymous" src="https://cdn.glitch.global/5cfc02c2-e08f-4e29-9383-05c3fa57335f/AdamandEve.gif?v=1732220288865" />
<img id="clickroleprompt" crossorigin="anonymous" src="https://cdn.glitch.global/5cfc02c2-e08f-4e29-9383-05c3fa57335f/up.png?v=1732221473295" />
<img id="clickmicroservice" crossorigin="anonymous" src="https://cdn.glitch.global/5cfc02c2-e08f-4e29-9383-05c3fa57335f/up.png?v=1732221473295" />
<img id="clicknextarticle" crossorigin="anonymous" src="https://cdn.glitch.global/5cfc02c2-e08f-4e29-9383-05c3fa57335f/up.png?v=1732221473295" />
<img id="floor" crossorigin="anonymous" src="https://cdn.glitch.global/5cfc02c2-e08f-4e29-9383-05c3fa57335f/Floor?v=1728248710705" />
<img id="sky" crossorigin="anonymous" src="https://cdn.glitch.global/5cfc02c2-e08f-4e29-9383-05c3fa57335f/Skybox?v=1728248616891" />
</a-assets>
<!-- Environment -->
<a-sky src="#sky"></a-sky>
<a-plane src="#floor" rotation="-90 0 0" width="30" height="30"></a-plane>
<!-- Ambient Light -->
<a-light type="ambient" color="#BBB"></a-light>
<!-- Directional Light -->
<a-light type="directional" color="#FFF" intensity="0.6" position="-0.5 1 1"></a-light>
<!-- Camera Rig -->
<a-entity id="rig" position="0 1.6 0" rotation="0 0 0">
<a-entity camera look-controls wasd-controls="acceleration: 65">
<a-cursor
raycaster="objects: .clickable"
animation__click="property: scale; startEvents: click; from: 0.1 0.1 0.1; to: 1 1 1; dur: 150"
animation__fusing="property: fusing; startEvents: fusing; from: 1 1 1; to: 0.1 0.1 0.1; dur: 1500"
event-set__mouseenter="color: springgreen"
event-set__mouseleave="color: black">
</a-cursor>
</a-entity>
</a-entity>
<!-- Gallery Items -->
<a-entity id="gallery">
<!-- Role Prompt -->
<a-entity
id="ClickRolePrompt"
class="project clickable"
geometry="primitive: box; width: 2; height: 4"
material="shader: gif; src: #gif2"
event-set__mouseenter="scale: 1.1 1.1 1"
event-set__mouseleave="scale: 1 1 1"
position="5 1.5 0"
rotation="0 -90 0"
open-url="url: https://dev.to/charity_everett/boosting-cicd-automation-with-ai-role-prompting-in-devops-2a5d"
static-body>
</a-entity>
<a-entity
class="hover-box clickable"
geometry="primitive: box; width: 2; height: 1.5; depth: 0.1"
material="src: #clickroleprompt"
position="5 4 0"
rotation="0 -90 0"
animation="property: position; to: 5 4.2 0; dir: alternate; dur: 1000; loop: true"
open-url="url: https://dev.to/charity_everett/boosting-cicd-automation-with-ai-role-prompting-in-devops-2a5d"
static-body>
</a-entity>
<!-- Microservices Architecture -->
<a-entity
class="project clickable"
geometry="primitive: box; width: 2; height: 1.5"
material="shader: gif; src: #gif1"
event-set__mouseenter="scale: 1.1 1.1 1"
event-set__mouseleave="scale: 1 1 1"
position="0 1.5 -5"
open-url="url: https://charityeverett.github.io/microservices-architecture/"
static-body>
</a-entity>
<a-entity
class="hover-box clickable"
geometry="primitive: box; width: 2; height: 1.5; depth: 0.1"
material="src: #clickmicroservice"
position="0 4 -5"
animation="property: position; to: 0 4.2 -5; dir: alternate; dur: 1000; loop: true"
open-url="url: https://charityeverett.github.io/microservices-architecture/"
static-body>
</a-entity>
<!-- Go Back Fetch It -->
<a-entity
class="project clickable"
geometry="primitive: box; width: 2; height: 1.5"
material="shader: gif; src: #gif3"
event-set__mouseenter="scale: 1.1 1.1 1"
event-set__mouseleave="scale: 1 1 1"
position="-5 1.5 0"
rotation="0 90 0"
open-url="url: https://gobackfetchitxr.com"
static-body>
</a-entity>
<a-entity
class="hover-box clickable"
geometry="primitive: box; width: 2; height: 1.5; depth: 0.1"
material="src: #clicknextarticle"
position="-5 4 0"
rotation="0 90 0"
animation="property: position; to: -5 4.2 0; dir: alternate; dur: 1000; loop: true"
open-url="url: https://gobackfetchitxr.com"
static-body>
</a-entity>
<a-text
value="Go Back Fetch It"
align="center"G
position="-5 0 0"
rotation="0 90 0"
width="2">
</a-text>
</a-entity>
</a-scene>
</body>
</html>