FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaScript/tutorials/threejs/detail.html at main · iu5git/JavaScript · GitHub
iu5git
/
JavaScript
Public
Notifications
You must be signed in to change notification settings
Fork
21
Star
52
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaScript
/
tutorials
/
threejs
/
detail.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
47 lines (46 loc) · 1.35 KB
Breadcrumbs
JavaScript
/
tutorials
/
threejs
/
detail.html
Copy path
File metadata and controls
47 lines (46 loc) · 1.35 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<!DOCTYPE html
>
<
html
lang
="
ru
"
>
<
head
>
<
script
type
="
importmap
"
>
{
"imports"
:
{
"three"
:
"https://unpkg.com/three@0.160.0/build/three.module.js"
,
"three/examples/jsm/"
:
"https://unpkg.com/three@0.160.0/examples/jsm/"
}
}
</
script
>
<
meta
charset
="
UTF-8
"
/>
<
title
>
Детали 3D модели
</
title
>
<
link
rel
="
stylesheet
"
href
="
styles.css
"
/>
<
style
>
#
viewer-canvas
{
width
:
100
vw
;
height
:
70
vh
;
display
:
block;
background
:
#
e6ebf5
;
}
.
back-link
{
margin
:
24
px
;
display
:
inline-block;
text-decoration
:
none;
color
:
#
283655
;
font-weight
:
500
;
}
</
style
>
</
head
>
<
body
>
<
a
class
="
back-link
"
href
="
index.html
"
>
← Назад к галерее
</
a
>
<
div
id
="
viewer-controls
"
style
="
display:flex;gap:12px;align-items:center;margin:20px 0 0 20px;
"
>
<
button
id
="
zoom-in
"
>
+
</
button
>
<
button
id
="
zoom-out
"
>
−
</
button
>
<
button
id
="
view-front
"
>
Вид спереди
</
button
>
<
button
id
="
view-back
"
>
Сзади
</
button
>
<
button
id
="
view-left
"
>
Слева
</
button
>
<
button
id
="
view-right
"
>
Справа
</
button
>
</
div
>
<
canvas
id
="
viewer-canvas
"
>
</
canvas
>
<
div
id
="
model-title
"
style
="
text-align:center;margin-top:2rem;font-size:1.4rem
"
>
</
div
>
<
script
src
="
idb.js
"
>
</
script
>
<
script
type
="
module
"
src
="
detail.js
"
>
</
script
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL