aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
blob: a7d4cac8550508f392f9637a946a848e1b241407 (plain) (blame)
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
<!DOCTYPE html>
<html>
	<head>
 		<meta name="viewport" content="width=device-width">
		<meta name="description" content="A set of tools for working with Rec Room Circuits(R2C).">
		<meta name="author" content="recnet/winrg">
		<title>Aleteoryx's R2CUtils</title>
		<link rel="manifest" href="/pwathings/manifest.json" />
		<link rel="manifest" href="/pwathings/manifest.json" />

		<link rel="stylesheet" href="style.css" />
		<script>
			var reg;
		  window.addEventListener("load", async function() {
				reg = await navigator.serviceWorker.getRegistrations();
				if (reg.length) document.getElementById("enabler").innerText = "Click to refresh the Service Worker!";
			});
			const reloader = () => Promise.all(reg.map(r => r.unregister())).then(() => navigator.serviceWorker.register('/worker.js', {scope: '/'}));
		</script>
	</head>
	<body>
		<div id="logo"><img src="/pwathings/icons/400x.png" alt="logo"/></div>
		<h1>Welcome to R2CUtils!</h1>
		<p>
			This is a little project of mine.
			Below you'll find a collection of tools for understanding and explaining R2C, as well as playing with it out-of-game.
			This site is in a perpetual state of work-in-progress, but there's a changelog below, too.
		</p>
		<section id="projects">
			<a href="/searcher" style="background-image: url(/images/searcher.png);">
				<div>
					<h3>Chip Searcher</h3>
					<p></p>
				</div>
			</a>
			<a href="/grapher" style="background-image: url(/images/grapher.png);">
				<div>
					<h3>Chip Grapher</h3>
					<p></p>
				</div>
			</a>
		</section>
		<button id="enabler" onclick="reloader();">Click to enable offline use!</button>
		<section id="changelog">
			<article>
				<h1>June 8, 2022 - <code>
					<span style="color:lightblue;">typedef</span>
					(<span style="color:crimson;">you</span>|<span style="color:crimson;">me</span>)
					<span style="color:khaki;">Frosty</span>;</code></h1>
				<hr>
				<ul>
					<li>Continued work on type intersection logic.</li>
					<ul>
						<li><q>as well as plenty of methods for computing intersections between them.</q></li>
						<li>But actually now! The <code><span style="color:khaki;">intersect</span>(<span style="color:crimson;">T1</span>,<span style="color:crimson;">T2</span>)</code> function generates the intersection between 2 types.</li>
						<li>Support exists for things as dense as nested unions, even.</li>
						<li>The grapher and the searcher have had their underlying parsers rebuilt on the new code.</li>
						<li><b>As Always:</b></li>
						<ul>
							<li>You can view it at <a href="/types.html">types.html</a>, by opening the DevTools console or reading the table.</li>
							<li>The actual logic is contained in <code>/lib/types.js</code>.</li>
						</ul>
					</ul>
					<li>Adjusted the frosted glass a bit.</li>
				</ul>
			</article>
			<article>
				<h1>June 6, 2022 - Just the same as you and me!</h1>
				<hr>
				<ul>
					<li>Created a nicer display for the links, with neat frosted glass effeects.</li>
				</ul>
			</article>
			<article>
				<h1>June 3, 2022 - The Three Clicks Edition</h1>
				<hr>
				<ul>
					<li>Continued work on type intersection logic.</li>
					<ul>
						<li>There is now something that can parse in R2C types,
							as well as plenty of methods for computing intersections between them.</li>
						<li><b>As Always:</b></li>
						<ul>
							<li>You can view it at <a href="/types.html">types.html</a>, by opening the DevTools console.</li>
							<li>The actual logic is contained in <code>/lib/types.js</code>.</li>
						</ul>
					</ul>
					<li>The links at the bottom of the homepage now use funny icons for the ::marker bit!</li>
				</ul>
			</article>
			<article>
				<h1>June 2, 2022 - The Three Clicks Edition</h1>
				<hr/>
				<ul>
					<li>Built a proper homepage.</li>
					<ul>
						<li>Revamped the install code.</li>
						<li>Added Changelog.</li>
						<li>Added a credits section.</li>
					</ul>
					<li>Continued work on type intersection logic.</li>
					<ul>
						<li>You can view it at <a href="/types.html">types.html</a>, by opening the DevTools console.</li>
						<li>The actual logic is contained in <code>/lib/types.js</code>.</li>
					</ul>
					<li>Updated branding to say R2C instead of CV2.</li>
					<li>Moved from the cv2 subdomain to the circuits subdomain. Currently the following will take you here:</li>
					<ul>
						<li><a href="http://circuits.aleteoryx.me">circuits.aleteoryx.me</a></li>
						<li><a href="http://r2c.aleteoryx.me">r2c.aleteoryx.me</a></li>
						<li><a href="http://rrc.aleteoryx.me">rrc.aleteoryx.me</a></li>
						<li><a href="http://cv2.aleteoryx.me">cv2.aleteoryx.me</a></li>
					</ul>
				</ul>
			</article>
		</section>
		<h2>Credits:</h2>
		<p>Though I've tried to keep as much of this codebase my own as possible,
			R2CUtils depends on the following projects:</p>
		<ul class="links">
			<li><a href="https://useiconic.com/open" target="_blank">Open Iconic - Various Icons</a></li>
			<li><a href="https://fusejs.io" target="_blank">fuse.js - Searching through the JSON</a></li>
		</ul>
		<p>The term "R2C"(Rec Room Circuits) was coined by Demented on the <a href="https://discord.gg/recroom">RR Discord</a>.</p>
	</body>
</html>