This repository has been archived by the owner on Aug 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (57 loc) · 3.18 KB
/
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
<!DOCTYPE html>
<html>
<head>
<link rel="icon" href="icon.svg" />
<title>Inferno</title>
<link rel="stylesheet" href="style.css" />
<script src="lib/ygui.js"></script>
<script src="lib/rasterizer.js"></script>
<script src="lib/getdataurl.js"></script>
<script src="lib/photopea.min.js"></script>
</head>
<body>
<div id="previewcontainer">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 871" style="background-color: black;">
<filter id="greyflood">
<feColorMatrix
type="matrix"
values="
0 0 0 0 0.25
0 0 0 0 0.25
0 0 0 0 0.25
0 0 0 1 0"
/>
</filter>
<filter id="transform1" x="-50%" y="-50%" width="200%" height="200%">
<feColorMatrix
type="matrix"
in="SourceGraphic"
result="reduced"
values="
1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 0.069 0"
/>
<feOffset in="reduced" result="transformed" dx="0" dy="-6.9" />
<feGaussianBlur in="transformed" result="blurred" stdDeviation="2" />
<feMerge>
<feMergeNode in="SourceGraphic" />
<feMergeNode in="blurred" />
</feMerge>
</filter>
<ellipse cx="50%" cy="50%" rx="2048" ry="871" style="fill: black;"></ellipse>
<image href="test text.png" x="50%" y="50%" width="1200" height="1200" transform="translate(-600, -600)" filter="url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#transform1) url(#greyflood)" />
<image href="textures/candle.png" width="1000" height="4000" preserveAspectRatio="none" x="50%" y="50%" transform="translate(-500, -2000)" style="mix-blend-mode: overlay;" />
<rect x="0" y="0" width="2048" height="871" style="fill: grey; mix-blend-mode: color;"></rect>
<rect x="0" y="0" width="2048" height="871" style="fill: rgb(255, 123, 0); mix-blend-mode: soft-light;"></rect>
<rect x="0" y="0" width="2048" height="871" style="fill: rgb(255, 123, 0); mix-blend-mode: soft-light;" fill-opacity="0.25"></rect>
</svg>
</div>
<div id="guicontainer"></div>
<div id="exportpanel">
<button>Export</button>
</div>
<script src="code.js"></script>
</body>
</html>