-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
190 lines (172 loc) · 11.9 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Image to ASCII</title>
<link rel="stylesheet" href="./style.css">
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="./resources/css/style.css">
<link rel="stylesheet" href="./resources/css/btnstyle.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css" rel="stylesheet">
<link href="./resources/css/bootstrap.min.css" rel="stylesheet">
</head>
<body style=" background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);">
<div class="about">
<a class="bg_links social portfolio" href="https://www.rafaelalucas.com" target="_blank">
<span class="icon"></span>
</a>
<a class="bg_links social dribbble" href="https://dribbble.com/rafaelalucas" target="_blank">
<span class="icon"></span>
</a>
<a class="bg_links social linkedin" href="https://www.linkedin.com/in/rafaelalucas/" target="_blank">
<span class="icon"></span>
</a>
<a class="bg_links logo"></a>
</div>
<nav class="mainNav">
<div class="mainNav__logo"><svg data-v-6805eed4="" version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="65%" height="50%" viewBox="0 0 340.000000 250.000000" preserveAspectRatio="xMidYMid meet" color-interpolation-filters="sRGB" style="margin: auto;height:150px">
<g data-v-6805eed4="" fill="#000" class="bordersvg b-d1" transform="translate(31.056673526763916,46.64749440492278)">
<path fill-opacity="0" stroke="#000" stroke-width="3" d="M 146.7050018310547 52.247501373291016 A 78.35250091552734 78.35250091552734 0 1 0 146.7050018310547 104.45750045776367">
</path>
<g transform="translate(10,52.247501373291016)">
<g>
<rect data-gra="graph-name-bg" stroke-width="2" class="i-icon-bg" x="0" y="0" width="273.4100036621094" height="52.209999084472656" fill-opacity="0"></rect>
</g>
<g transform="translate(10,3)">
<g data-gra="path-name" fill-rule="" class="tp-name">
<g transform="scale(1)">
<g>
<path d="M55.17 0L51.14 0 51.14-21.46 11.47-21.46 11.47 0 7.44 0 7.44-44.28 11.47-44.28 11.47-25.2 51.14-25.2 51.14-44.28 55.17-44.28 55.17 0ZM116.18 0L112.18 0 112.18-4.9Q109.86-3.64 106.91-2.58 103.96-1.51 100.69-0.74 97.42 0.03 93.97 0.45 90.53 0.87 87.21 0.87L87.21 0.87Q82.89 0.87 79.46 0.1 76.02-0.68 73.64-2.21 71.25-3.74 69.97-6.01 68.68-8.28 68.68-11.28L68.68-11.28Q68.68-14.24 70.18-16.52 71.67-18.79 74.45-20.48 77.22-22.17 81.13-23.35 85.05-24.52 89.88-25.35 94.72-26.17 100.34-26.7 105.96-27.23 112.18-27.59L112.18-27.59 112.18-30.97Q112.18-33.03 111.41-34.61 110.64-36.19 109.25-37.37 107.86-38.54 106-39.33 104.13-40.12 101.95-40.61 99.78-41.09 97.37-41.3 94.97-41.51 92.56-41.51L92.56-41.51Q89.3-41.51 86.63-41.19 83.95-40.86 81.63-40.3 79.31-39.74 77.18-38.99 75.06-38.25 72.9-37.42L72.9-37.42 72.9-42.12Q77.38-43.31 82.45-44.2 87.53-45.08 93.23-45.08L93.23-45.08Q98.07-45.08 102.26-44.26 106.45-43.44 109.54-41.64 112.63-39.83 114.41-36.98 116.18-34.13 116.18-30.04L116.18-30.04 116.18 0ZM112.18-9.12L112.18-24.01Q101.64-23.43 94.18-22.37 86.72-21.3 81.99-19.75 77.25-18.21 75.04-16.15 72.83-14.08 72.83-11.47L72.83-11.47Q72.83-9.35 73.91-7.7 74.99-6.06 77.02-4.95 79.05-3.83 81.95-3.27 84.85-2.71 88.46-2.71L88.46-2.71Q90.59-2.71 92.86-2.95 95.13-3.19 97.39-3.63 99.65-4.06 101.84-4.66 104.03-5.25 105.96-5.96 107.9-6.67 109.49-7.48 111.09-8.28 112.18-9.12L112.18-9.12ZM132.71-44.28L136.74-44.28 136.74-37.48Q138.16-38.7 139.9-40.09 141.64-41.48 143.73-42.64 145.83-43.8 148.28-44.57 150.73-45.34 153.53-45.34L153.53-45.34Q158.01-45.34 161.46-43.33 164.91-41.31 167.03-37.09L167.03-37.09Q169.1-38.99 171.29-40.52 173.48-42.06 175.78-43.12 178.09-44.18 180.54-44.76 182.99-45.34 185.6-45.34L185.6-45.34Q188.92-45.34 191.64-44.21 194.36-43.09 196.26-41.12 198.17-39.16 199.21-36.5 200.26-33.84 200.26-30.81L200.26-30.81 200.26 0 196.23 0 196.23-29.78Q196.23-32.55 195.57-34.72 194.91-36.9 193.51-38.41 192.11-39.93 189.93-40.72 187.76-41.51 184.73-41.51L184.73-41.51Q182.31-41.51 179.94-40.81 177.57-40.12 175.41-38.98 173.25-37.83 171.38-36.38 169.52-34.93 168.1-33.39L168.1-33.39Q168.26-32.48 168.27-31.84 168.29-31.2 168.29-30.29L168.29-30.29 168.29 0 164.26 0 164.26-29.78Q164.26-33.06 163.39-35.3 162.52-37.54 160.98-38.93 159.43-40.32 157.32-40.91 155.21-41.51 152.73-41.51L152.73-41.51Q150.37-41.51 148.07-40.7 145.76-39.9 143.67-38.61 141.58-37.32 139.8-35.72 138.03-34.13 136.74-32.55L136.74-32.55 136.74 0 132.71 0 132.71-44.28ZM255.79 0L236.65-20.01 217.57 0 212.48 0 234.13-22.72 213.54-44.28 218.63-44.28 236.65-25.33 254.72-44.28 259.82-44.28 239.22-22.72 260.85 0 255.79 0Z" transform="translate(-7.440000057220459, 45.34000015258789)"></path>
</g>
</g>
</g>
</g>
</g>
</g>
<defs v-gra="od"></defs>
</svg></div>
<div class="mainNav__links">
<a href="" class="mainNav__link">About</a>
<a href="" class="mainNav__link">Projects</a>
<a href="" class="mainNav__link">Team</a>
<a href="" class="mainNav__link">Contacts</a>
</div>
<div class="mainNav__icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g data-name="Layer 2" fill="#9197AE">
<g data-name="menu-2">
<rect width="24" height="24" transform="rotate(180 12 12)" opacity="0" />
<circle cx="4" cy="12" r="1" />
<rect x="7" y="11" width="14" height="2" rx=".94" ry=".94" />
<rect x="3" y="16" width="18" height="2" rx=".94" ry=".94" />
<rect x="3" y="6" width="18" height="2" rx=".94" ry=".94" />
</g>
</g>
</svg>
</div>
</nav>
<header class="mainHeading">
<div class="mainHeading__content">
<article class="mainHeading__text">
<p class="mainHeading__preTitle">Automata</p>
<h2 class="mainHeading__title">Image to Ascii</h2>
<p class="mainHeading__description">
Funleash a mesmerizing transformation as your images metamorphose into stunning ASCII art, a captivating
fusion of digital aesthetics and retro vibes
</p>
<a href="https://en.wikipedia.org/wiki/ASCII">
<button class="cta">know more</button>
</a>
</article>
<figure class="mainHeading__image">
<!-- <img src="https://img.freepik.com/free-vector/vector-binary-code-blue-background-big-data-programming-hacking-deep-decryption-encryption-computer-streaming-numbers-1-0-coding-hacker-concept_167184-255.jpg?size=626&ext=jpg" alt="" /> -->
<img style="border-radius: 5px;" src="./f6deeef4515d423b848fb7bc23cc809a.webp" alt="" />
</figure>
</div>
</header><br><br><br><br><br><br><br><br><br><br>
<div class="code">
<div class="container">
<canvas id="canvas"></canvas>
<input style=" width: 408px;" type="text" name="text" id="ascii" class="inputx" placeholder="Enter ASCII...">
<div class="controls" style=" margin-top: 25px;">
<label class="button2">
<input type="file" name="file" id="file" accept="image/*" />Load Image</label>
<label class="button2" style="padding-top: 0; margin-left: 31px;">
<input type="button" id="save">Save</label>
</div>
</div>
<div class="additional-text">
<h2>Details</h2>
<p>
This project allows you to convert images into ASCII art. The canvas on the left displays the converted
ASCII art, and you can customize the characters used for conversion. To get started, upload an image using
the "Load Image" button, customize the characters in the input field, and save the result with the "Save"
button. Explore the creative possibilities of ASCII art with this simple yet powerful tool!
</p>
<p>
The ASCII art is generated using a combination of characters based on the brightness of each pixel in the
uploaded image. Adjust the character set in the input field to experiment with different visual effects in
your ASCII art creations. Have fun and unleash your creativity!
</p>
</div>
</div>
<footer>
<div class="container-fluid footer wow fadeIn" data-wow-delay=".3s"
style=" background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);">
<div class="container pt-5 pb-4">
<div class="row g-5">
<div class="col-lg-3 col-md-6">
<a href="index.html">
<h1 class="text-white fw-bold d-block">ASCII<span class="text-secondary">CONVO</span> </h1>
</a>
<p class="mt-4 text-light"> Converting images to ASCII art involves representing the original image
using ASCII characters. </p>
<div class="d-flex hightech-link">
<a href="" class="btn-light nav-fill btn btn-square rounded-circle me-2"><i
class="fab fa-facebook-f text-primary"></i></a>
<a href="" class="btn-light nav-fill btn btn-square rounded-circle me-2"><i
class="fab fa-instagram text-primary"></i></a>
<a href="" class="btn-light nav-fill btn btn-square rounded-circle me-0"><i
class="fab fa-linkedin-in text-primary"></i></a>
</div>
</div>
<div class="col-lg-3 col-md-6">
<a href="#" class="h3 text-secondary">Short Link</a>
<div class="mt-4 d-flex flex-column short-link">
<a href="#about" class="mb-2 text-white"><i
class="fas fa-angle-right text-secondary me-2"></i>About us</a>
<a href="#contact" class="mb-2 text-white"><i
class="fas fa-angle-right text-secondary me-2"></i>Contact us</a>
</div>
</div>
<div class="col-lg-3 col-md-6">
<a href="#" class="h3 text-secondary">Contact Us</a>
<div class="text-white mt-4 d-flex flex-column contact-link">
<a href="#" class="pb-3 text-light border-bottom border-primary"><i
class="fas fa-map-marker-alt text-secondary me-2"></i> Capital University of Science &
Technology</a>
<a href="#" class="py-3 text-light border-bottom border-primary"><i
class="fas fa-phone-alt text-secondary me-2"></i>+92 111 222 333</a>
<a href="#" class="py-3 text-light border-bottom border-primary"><i
class="fas fa-envelope text-secondary me-2"></i> support@asciiconvo.com</a>
</div>
</div>
</div>
<hr class="text-light mt-5 mb-4">
<div class="row">
<div class="col-md-6 text-center text-md-start">
<span class="text-light"><a href="#" class="text-secondary"><i
class="fas fa-copyright text-secondary me-2"></i>AsciiConvo</a>, All right reserved.</span>
</div>
</div>
</div>
</div>
</footer>
<!-- partial -->
<script src="./resources/js/script.js"></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/parallax/3.1.0/parallax.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/parallax/3.1.0/parallax.js'></script>
<script src="./script.js"></script>
</body>
</html>