Skip to content

Instantly share code, notes, and snippets.

@Cody01100011
Cody01100011 / img_to_jpg_converter
Created December 20, 2024 12:26
img_to_jpg_converter
<!DOCTYPE html onload="sc()" onclick="dr(event)">
<html>
<body id="body" onload="sc()" onclick="dr(event)">
<canvas id="myCanvas"></canvas>
<div id="hd"><div id="h0"></div><div id="h1"></div><p id="h2">convert.net</p>
<div id="h3"></div><div id="h5"></div></div>
@Cody01100011
Cody01100011 / img_to_png_converter
Created December 20, 2024 12:22
img_to_png_converter
<!DOCTYPE html onload="sc()" onclick="dr(event)">
<html>
<body id="body" onload="sc()" onclick="dr(event)">
<canvas id="myCanvas"></canvas>
<div id="hd"><div id="h0"></div><div id="h1"></div><p id="h2">convert.net</p>
<div id="h3"></div><div id="h5"></div></div>
@Cody01100011
Cody01100011 / img_to_ico_converter
Created December 20, 2024 12:21
img_to_ico_converter
<body id="body" onload="sc()" onclick="dr(event)">
<div id="hd"><div id="h0"></div><div id="h1"></div><p id="h2">convert.net</p>
<div id="h3"></div><div id="h5"></div></div>
<label id="inp"><input id="myfile" type="file" multiple="multiple" accept="image/png,.bmp">Upload img files</label>
<button id="btn" onclick="mf()">Convert to ico</button>
<a id="url" download="file">Download</a>
<div id="mgs"></div>
@Cody01100011
Cody01100011 / WebGL_Demo
Created December 20, 2024 12:06
WebGL_Demo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>WebGL Demo</title>
<link id="head" rel="website icon">
</head>
<body>
<div align=center>
<canvas id="glcanvas" width="640" height="480"></canvas>
@Cody01100011
Cody01100011 / Web_cam_html
Created August 18, 2024 16:57
Web_cam_html
<div class="camera">
<video id="video">Video stream not available.</video>
<button id="startbutton">Take photo</button>
<button id="endbutton">Stop camera</button>
</div>
<canvas id="canvas"></canvas>
<div class="output">
<img id="photo" alt="The screen capture will appear in this box.">
@Cody01100011
Cody01100011 / tone.html
Created January 24, 2022 13:06 — forked from horndude77/tone.html
Simple HTML Tone Generator
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Tone Generator</title>
<script>
var context = null;
var usingWebAudio = true;
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
html, body {
height: 100%;
margin: 0;
}