-
Notifications
You must be signed in to change notification settings - Fork 28
/
index.html
175 lines (150 loc) · 5.4 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
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
172
173
174
175
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RGFW WebASM Examples</title>
<style>
body {
font-family: Arial, sans-serif;
padding: 20px;
color: rgb(200, 200, 200)
}
h1 {
margin-bottom: 20px; /* Add space below the header */
}
.links-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.link-card {
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
max-width: 200px;
text-align: center;
text-decoration: none;
color: inherit;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.link-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.link-card img {
width: 100%;
height: auto;
border-radius: 4px;
}
.link-card h2 {
font-size: 1.2em;
margin: 10px 0;
}
</style>
<style>
.header img {
float: left;
width: 100px;
height: 100px;
background: #555;
}
.header h1 {
position: relative;
top: 18px;
left: 10px;
}
</style>
</head>
<body style="background-color:rgb(15, 25, 45);">
<div class="header">
<img src="logo.png" alt="RGFW logo">
</div>
<h1>RGFW WebASM Examples</h1>
A cross platform lightweight single-header simple-to-use window abstraction library for creating graphical programs or libraries.
<div class="links-container">
<a href="./docs/index.html">
<h4>Doxygen Docs</h4>
</a>
<a href="./webasm/downloads.html">
<h4>Download</h4>
</a>
</div>
<br> <!-- Add a line break here -->
<br> <!-- Add a line break here -->
<div class="links-container">
<a href="./webasm/basic.html" class="link-card">
<img src="webasm/basic.png" alt="Basic Example">
<h2>Basic</h2>
</a>
<a href="./webasm/gamepad.html" class="link-card">
<img src="webasm/gamepad.png" alt="gamepad Example">
<h2>Basic</h2>
</a>
<a href="./webasm/buffer.html" class="link-card">
<img src="webasm/buffer.png" alt="Buffer Example">
<h2>Buffer</h2>
</a>
<a href="./webasm/callbacks.html" class="link-card">
<img src="webasm/callbacks.png" alt="Callbacks Example">
<h2>Callbacks</h2>
</a>
<a href="./webasm/events.html" class="link-card">
<img src="webasm/events.png" alt="Events Example">
<h2>Events</h2>
</a>
<a href="./webasm/first-person-camera.html" class="link-card">
<img src="webasm/camera.png" alt="Camera Example">
<h2>Camera</h2>
</a>
<a href="./webasm/gl33.html" class="link-card">
<img src="webasm/gl33.png" alt="GL33 Example">
<h2>GL33</h2>
</a>
<a href="./webasm/gles2.html" class="link-card">
<img src="webasm/gles2.png" alt="GLES2 Example">
<h2>GLES2</h2>
</a>
<a href="./webasm/webgpu.html" class="link-card">
<img src="webasm/webgpu.png" alt="WebGPU Example">
<h2>WebGPU</h2>
</a>
<a href="./webasm/silk.html" class="link-card">
<img src="webasm/silk.png" alt="Silk.h Example">
<h2>Silk.h</h2>
</a>
<a href="./webasm/nuklear.html" class="link-card">
<img src="webasm/nuklear.png" alt="Nuklear Example">
<h2>Nuklear</h2>
</a>
<a href="./webasm/microui_demo.html" class="link-card">
<img src="webasm/microui_demo.png" alt="MicroUI DEMO">
<h2>MicroUI DEMO</h2>
</a>
<a href="https://colleagueriley.github.io/PureDoom-RGFW/" class="link-card">
<img src="webasm/doom.png" alt="RGFW DOOM">
<h2>DOOM</h2>
</a>
<h2> RSoft (Software rendering library) </h2>
<br> <!-- Add a line break here -->
<div class="links-container">
<a href="https://colleagueriley.github.io/rsoft//examples/shapes.html" class="link-card">
<img src="https://raw.githubusercontent.com/RSGL/rsoft/refs/heads/main/shapes.gif" alt="Shapes Example">
<h2>Shapes</h2>
</a>
<a href="https://colleagueriley.github.io/rsoft/./examples/textures.html" class="link-card">
<img src="https://raw.githubusercontent.com/RSGL/rsoft/refs/heads/main/textures.gif" alt="Textures Example">
<h2>Textures</h2>
</a>
<a href="https://colleagueriley.github.io/rsoft/./examples/raycaster.html" class="link-card">
<img src="https://raw.githubusercontent.com/RSGL/rsoft/refs/heads/main/raycaster.gif" alt="Raycaster Example">
<h2>Raycaster</h2>
</a>
<a href="https://colleagueriley.github.io/rsoft/./examples/doom-like.html" class="link-card">
<img src="https://raw.githubusercontent.com/RSGL/rsoft/refs/heads/main/doom-like.gif" alt="Doom-like Example">
<h2>Doom-like</h2>
</a>
</div>
</body>
</html>