Skip to content

Commit 270ff1c

Browse files
committed
rebuild older docs with recent site
1 parent c0fc58e commit 270ff1c

File tree

1,126 files changed

+3591
-3109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,126 files changed

+3591
-3109
lines changed

docs/assets/codemirror.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/lu5-editor.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/editor/index.html

+1-1
Large diffs are not rendered by default.

docs/index.html

+2-2
Large diffs are not rendered by default.

docs/latest/camera/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta content="width=device-width, initial-scale=1.0" name="viewport"/><meta httpEquiv="X-UA-Compatible" content="ie=edge"/><meta content="A Lua interpreter for Creative Coding. Provides a similar experience to well known p5.js library. Perfect learning or quickly running Lua graphical windows." name="description"/><meta content="Lua, Creative Coding, p5.js, OpenGL, Lua Interpreter, programming, coding, learn code" name="keywords"/><meta content="Matias Vazquez-Levi" name="author"/><meta content="lu5 | camera" property="og:title"/><meta content="A Lua interpreter for Creative Coding. Provides a similar experience to well known p5.js library. Perfect learning or quickly running Lua graphical windows." property="og:description"/><meta content="https://matiasvlevi.github.io/lu5/assets/lu5_thumbnail.png" property="og:image"/><meta content="https://matiasvlevi.github.io/lu5" property="og:url"/><meta content="summary_large_image" name="twitter:card"/><meta content="lu5 | camera" name="twitter:title"/><meta content="A Lua interpreter for Creative Coding. Provides a similar experience to well known p5.js library. Perfect learning or quickly running Lua graphical windows." name="twitter:description"/><meta content="https://matiasvlevi.github.io/lu5/assets/lu5_thumbnail.png" name="twitter:image"/><link rel="canonical" href="https://matiasvlevi.github.io/lu5/latest/"/><link rel="stylesheet" href="../../assets/style.css"/><link rel="stylesheet" href="../../assets/lu5-hljs-theme.css"/><script src="../../assets/hljs.min.js"></script><script type="text/javascript" src="../../assets/index.js"></script><script>document.addEventListener("DOMContentLoaded", function (event) {hljs.highlightAll();});</script><script async src="https://www.googletagmanager.com/gtag/js?id=G-CYFGDF41F4"></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);};gtag("js", new Date());gtag("config", "G-CYFGDF41F4");</script><link rel="icon" type="image/svg" href="../../assets/favicon.png"/><title>lu5 | camera</title></head><body><div class="flex flex-grow"><div class="nav" id="menu"><br/><ul><li class="btn"><a href=".././window/" class="light"><h4>window</h4></a></li><li class="btn"><a href=".././typography/" class="light"><h4>typography</h4></a></li><li class="btn"><a href=".././transform/" class="light"><h4>transform</h4></a></li><li class="btn"><a href=".././shapes3D/" class="light"><h4>3D Shapes</h4></a></li><li class="btn"><a href=".././shapes/" class="light"><h4>2D Shapes</h4></a></li><li class="btn"><a href=".././setting/" class="light"><h4>setting</h4></a></li><li class="btn"><a href=".././mouse/" class="light"><h4>mouse</h4></a></li><li class="btn"><a href=".././models/" class="light"><h4>models</h4></a></li><li class="btn"><a href=".././vector/" class="light"><h4>vector</h4></a></li><li class="btn"><a href=".././math/" class="light"><h4>math</h4></a></li><li class="btn"><a href=".././keyboard/" class="light"><h4>keyboard</h4></a></li><li class="btn"><a href=".././io/" class="light"><h4>io</h4></a></li><li class="btn"><a href=".././image/" class="light"><h4>image</h4></a></li><li class="btn"><a href=".././classes/" class="light"><h4>classes</h4></a></li><li class="btn"><a href=".././camera/" class="light"><h4>camera</h4></a></li></ul></div><main><header><a href="../"><img width="100px" src="../../assets/logo.svg"/></a><h1 class="module">camera</h1><button class="menuBtn" onclick="toggleMenu()"><img class="menuIcon" src="../../assets/arrow_left.svg" width="40px"/></button><span class="text version">v0.1.6</span></header><div class="method" id="orbitControl"><div class="methodDeclaration"><code>orbitControl();</code></div><p>Helpful utility for controlling the camera around the origin.<br/>Enables quick camera controls without much of an implementation.</p><div class="params"></div><p></p><pre><code class="language-lua">function setup()
1+
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta content="ie=edge" httpEquiv="X-UA-Compatible"/><meta name="description" content="camera reference page. Originating from camera.h in lu5 source. Reference documentation for lu5, this documentation provides descriptions and examples of lu5's functionality. "/><meta name="keywords" content="Lua, Creative Coding, p5.js, OpenGL, Lua Interpreter, programming, coding, learn code"/><meta name="author" content="Matias Vazquez-Levi"/><meta content="camera" property="og:title"/><meta content="camera reference page. Originating from camera.h in lu5 source. Reference documentation for lu5, this documentation provides descriptions and examples of lu5's functionality. " property="og:description"/><meta content="https://matiasvlevi.github.io/lu5/assets/lu5_thumbnail.png" property="og:image"/><meta content="https://matiasvlevi.github.io/lu5" property="og:url"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="camera"/><meta name="twitter:description" content="camera reference page. Originating from camera.h in lu5 source. Reference documentation for lu5, this documentation provides descriptions and examples of lu5's functionality. "/><meta name="twitter:image" content="https://matiasvlevi.github.io/lu5/assets/lu5_thumbnail.png"/><link href="../../assets/common.css" rel="stylesheet"/><link href="../../assets/docs.css" rel="stylesheet"/><script src="../../assets/search.js" type="text/javascript"></script><script src="../../assets/menu.js" type="text/javascript"></script><script>window.onload = function (e) {set_nav_menu();set_search("../../v0.1.6/");};</script><link href="../../assets/lu5-hljs-theme.css" rel="stylesheet"/><script src="https://unpkg.com/@highlightjs/[email protected]/highlight.min.js"></script><script>document.addEventListener("DOMContentLoaded", function (e) {hljs.configure({ noHighlightRe: /^no-hljs$/i });hljs.highlightAll();});</script><script src="https://unpkg.com/@highlightjs/[email protected]/languages/lua.min.js"></script><script src="https://unpkg.com/lu5-wasm@latest/dist/lu5.wasm" type="module"></script><script src="https://unpkg.com/lu5-components@latest/dist/lu5-console.min.js" type="module"></script><link href="https://matiasvlevi.github.io/lu5/latest/camera" rel="canonical"/><script src="https://www.googletagmanager.com/gtag/js?id=G-CYFGDF41F4" async></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);};gtag("js", new Date());gtag("config", "G-CYFGDF41F4");</script><link rel="icon" href="../../assets/favicon.png" type="image/svg"/><title>camera</title></head><body><div class="content flex flex-grow"><div class="nav" id="menu"><br/><ul><li class="btn"><a href=".././window/" class="light"><h4>window</h4></a></li><li class="btn"><a href=".././typography/" class="light"><h4>typography</h4></a></li><li class="btn"><a href=".././transform/" class="light"><h4>transform</h4></a></li><li class="btn"><a href=".././shapes3D/" class="light"><h4>3D Shapes</h4></a></li><li class="btn"><a href=".././shapes/" class="light"><h4>2D Shapes</h4></a></li><li class="btn"><a href=".././setting/" class="light"><h4>setting</h4></a></li><li class="btn"><a href=".././mouse/" class="light"><h4>mouse</h4></a></li><li class="btn"><a href=".././models/" class="light"><h4>models</h4></a></li><li class="btn"><a href=".././vector/" class="light"><h4>vector</h4></a></li><li class="btn"><a href=".././math/" class="light"><h4>math</h4></a></li><li class="btn"><a href=".././keyboard/" class="light"><h4>keyboard</h4></a></li><li class="btn"><a href=".././io/" class="light"><h4>io</h4></a></li><li class="btn"><a href=".././image/" class="light"><h4>image</h4></a></li><li class="btn"><a href=".././classes/" class="light"><h4>classes</h4></a></li><li class="btn"><a href=".././camera/" class="light"><h4>camera</h4></a></li></ul></div><main><header><div class="wrap"><a href="../"><img class="logo" src="../../assets/logo.svg"/></a><h1 class="module" style="font-size: 26pt">camera</h1><button class="menuBtn" onclick="toggleMenu()"><img src="../../assets/arrow_left.svg" class="menuIcon" width="40px"/></button><span class="text version">v0.1.6</span></div><div class="space-between items-center gap-1 search-section" style="display: none;"><svg height="24px" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="24px"><path d="M 21 3 C 11.601563 3 4 10.601563 4 20 C 4 29.398438 11.601563 37 21 37 C 24.355469 37 27.460938 36.015625 30.09375 34.34375 L 42.375 46.625 L 46.625 42.375 L 34.5 30.28125 C 36.679688 27.421875 38 23.878906 38 20 C 38 10.601563 30.398438 3 21 3 Z M 21 7 C 28.199219 7 34 12.800781 34 20 C 34 27.199219 28.199219 33 21 33 C 13.800781 33 8 27.199219 8 20 C 8 12.800781 13.800781 7 21 7 Z" stroke="currentColor" fill="currentColor"></path></svg><div class="search-wrap flex-col" style="position: relative;"><input autocomplete="off" type="text" id="search" placeholder="Search" style="z-index: 5;"/><div class="search-box flex-col"></div></div></div></header><div class="method" id="orbitControl"><div class="methodDeclaration"><code>orbitControl();</code></div><p>Helpful utility for controlling the camera around the origin.<br/>Enables quick camera controls without much of an implementation.</p><div class="params"></div><p></p><div class="method-example flex items-center"><pre class="example-code noselect"><code class="language-lua noselect">function setup()
22
createWindow(800, 800, GL3D);
33
end
44

55
function draw()
6-
background('purple');
6+
background(51);
77

88
-- Allows us to control the camera
99
orbitControl();
@@ -13,4 +13,4 @@
1313
strokeWeight(4);
1414

1515
box(60);
16-
end</code></pre><br/></div></main></div><footer class="flex-col space-between"><div class="socials"><a href="https://github.com/matiasvlevi/lu5" style="gap: 0.5rem; color: #fff;" class="flex items-center"><img src="../../assets/github.svg"/><span class="small dark underline">matiasvlevi/lu5</span></a></div><div class="license-note"><span class="smaller dark">This project is licensed under the MIT License.</span><br/><span class="smaller dark">It also includes the FreeType font engine, which is licensed under the FreeType License (FTL).</span></div></footer><script>main();</script></body></html>
16+
end</code></pre></div><span class="text small underline"><a target="_blank" href="https://github.com/matiasvlevi/lu5/blob/v0.1.6/src/bindings/camera.h#L22C0-L46C0">See orbitControl in camera.h</a></span></div></main></div><footer class="flex-col space-between"><div class="socials"><a class="flex items-center" href="https://github.com/matiasvlevi/lu5" style="gap: 0.5rem; color: #fff;"><img src="../../assets/github.svg"/><span class="small dark underline">matiasvlevi/lu5</span></a></div><div class="license-note"><span class="smaller dark">This project is licensed under the MIT License.</span><br/><span class="smaller dark">It also includes the FreeType font engine, which is licensed under the FreeType License (FTL).</span></div></footer></body></html>
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta content="ie=edge" httpEquiv="X-UA-Compatible"/><meta name="description" content="Helpful utility for controlling the camera around the origin.Enables quick camera controls without much of an implementation. lu5 is a Lua interpreter for Creative Coding. lu5 serves as a tool for creating games, simulations and art. It is designed to render 2D and 3D graphics, and provides a simple and expressive API similar to p5.js. lu5 Reference page for orbitControl. "/><meta name="keywords" content="Lua, Creative Coding, p5.js, OpenGL, Lua Interpreter, programming, coding, learn code"/><meta name="author" content="Matias Vazquez-Levi"/><meta content="orbitControl" property="og:title"/><meta content="Helpful utility for controlling the camera around the origin.Enables quick camera controls without much of an implementation. lu5 is a Lua interpreter for Creative Coding. lu5 serves as a tool for creating games, simulations and art. It is designed to render 2D and 3D graphics, and provides a simple and expressive API similar to p5.js. lu5 Reference page for orbitControl. " property="og:description"/><meta content="https://matiasvlevi.github.io/lu5/assets/lu5_thumbnail.png" property="og:image"/><meta content="https://matiasvlevi.github.io/lu5" property="og:url"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="orbitControl"/><meta name="twitter:description" content="Helpful utility for controlling the camera around the origin.Enables quick camera controls without much of an implementation. lu5 is a Lua interpreter for Creative Coding. lu5 serves as a tool for creating games, simulations and art. It is designed to render 2D and 3D graphics, and provides a simple and expressive API similar to p5.js. lu5 Reference page for orbitControl. "/><meta name="twitter:image" content="https://matiasvlevi.github.io/lu5/assets/lu5_thumbnail.png"/><link href="../../../assets/common.css" rel="stylesheet"/><link href="../../../assets/docs.css" rel="stylesheet"/><script src="../../../assets/search.js" type="text/javascript"></script><script src="../../../assets/menu.js" type="text/javascript"></script><script>window.onload = function (e) {set_nav_menu();set_search("../../../v0.1.6/");};</script><link href="../../../assets/lu5-hljs-theme.css" rel="stylesheet"/><script src="https://unpkg.com/@highlightjs/[email protected]/highlight.min.js"></script><script>document.addEventListener("DOMContentLoaded", function (e) {hljs.configure({ noHighlightRe: /^no-hljs$/i });hljs.highlightAll();});</script><script src="https://unpkg.com/@highlightjs/[email protected]/languages/lua.min.js"></script><script src="https://unpkg.com/lu5-wasm@latest/dist/lu5.wasm" type="module"></script><script src="https://unpkg.com/lu5-components@latest/dist/lu5-console.min.js" type="module"></script><link href="https://matiasvlevi.github.io/lu5/latest/camera/orbitControl" rel="canonical"/><script src="https://www.googletagmanager.com/gtag/js?id=G-CYFGDF41F4" async></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);};gtag("js", new Date());gtag("config", "G-CYFGDF41F4");</script><link rel="icon" href="../../../assets/favicon.png" type="image/svg"/><title>orbitControl</title></head><body><div class="content flex flex-grow"><div class="nav" id="menu"><br/><ul><li class="btn"><a href=".././window/" class="light"><h4>window</h4></a></li><li class="btn"><a href=".././typography/" class="light"><h4>typography</h4></a></li><li class="btn"><a href=".././transform/" class="light"><h4>transform</h4></a></li><li class="btn"><a href=".././shapes3D/" class="light"><h4>3D Shapes</h4></a></li><li class="btn"><a href=".././shapes/" class="light"><h4>2D Shapes</h4></a></li><li class="btn"><a href=".././setting/" class="light"><h4>setting</h4></a></li><li class="btn"><a href=".././mouse/" class="light"><h4>mouse</h4></a></li><li class="btn"><a href=".././models/" class="light"><h4>models</h4></a></li><li class="btn"><a href=".././vector/" class="light"><h4>vector</h4></a></li><li class="btn"><a href=".././math/" class="light"><h4>math</h4></a></li><li class="btn"><a href=".././keyboard/" class="light"><h4>keyboard</h4></a></li><li class="btn"><a href=".././io/" class="light"><h4>io</h4></a></li><li class="btn"><a href=".././image/" class="light"><h4>image</h4></a></li><li class="btn"><a href=".././classes/" class="light"><h4>classes</h4></a></li><li class="btn"><a href=".././camera/" class="light"><h4>camera</h4></a></li></ul></div><main><header><div class="wrap"><a href="../"><img class="logo" src="../../../assets/logo.svg"/></a><h1 class="module" style="font-size: 22pt">orbitControl</h1><button class="menuBtn" onclick="toggleMenu()"><img src="../../../assets/arrow_left.svg" class="menuIcon" width="40px"/></button><span class="text version">v0.1.6</span></div><div class="space-between items-center gap-1 search-section" style="display: none;"><svg height="24px" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="24px"><path d="M 21 3 C 11.601563 3 4 10.601563 4 20 C 4 29.398438 11.601563 37 21 37 C 24.355469 37 27.460938 36.015625 30.09375 34.34375 L 42.375 46.625 L 46.625 42.375 L 34.5 30.28125 C 36.679688 27.421875 38 23.878906 38 20 C 38 10.601563 30.398438 3 21 3 Z M 21 7 C 28.199219 7 34 12.800781 34 20 C 34 27.199219 28.199219 33 21 33 C 13.800781 33 8 27.199219 8 20 C 8 12.800781 13.800781 7 21 7 Z" stroke="currentColor" fill="currentColor"></path></svg><div class="search-wrap flex-col" style="position: relative;"><input autocomplete="off" type="text" id="search" placeholder="Search" style="z-index: 5;"/><div class="search-box flex-col"></div></div></div></header><div class="method" id="orbitControl"><div class="methodDeclaration"><code>orbitControl();</code></div><p>Helpful utility for controlling the camera around the origin.<br/>Enables quick camera controls without much of an implementation.</p><div class="params"></div><p></p><div class="method-example flex items-center"><pre class="example-code noselect"><code class="language-lua noselect">function setup()
2+
createWindow(800, 800, GL3D);
3+
end
4+
5+
function draw()
6+
background(51);
7+
8+
-- Allows us to control the camera
9+
orbitControl();
10+
11+
noFill();
12+
stroke(80, 255, 50);
13+
strokeWeight(4);
14+
15+
box(60);
16+
end</code></pre></div><span class="text small underline"><a target="_blank" href="https://github.com/matiasvlevi/lu5/blob/v0.1.6/src/bindings/camera.h#L22C0-L46C0">See orbitControl in camera.h</a></span></div></main></div><footer class="flex-col space-between"><div class="socials"><a class="flex items-center" href="https://github.com/matiasvlevi/lu5" style="gap: 0.5rem; color: #fff;"><img src="../../../assets/github.svg"/><span class="small dark underline">matiasvlevi/lu5</span></a></div><div class="license-note"><span class="smaller dark">This project is licensed under the MIT License.</span><br/><span class="smaller dark">It also includes the FreeType font engine, which is licensed under the FreeType License (FTL).</span></div></footer></body></html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"source":{"header":"camera.h","start_line":22,"end_line":46},"doc":{"name":"orbitControl","examples":[{"source":"function setup()\n createWindow(800, 800, GL3D);\nend\n\nfunction draw() \n background(51);\n\n -- Allows us to control the camera\n orbitControl();\n\n noFill();\n stroke(80, 255, 50);\n strokeWeight(4);\n\n box(60);\nend","live":false}],"calls":[{"arguments":{}}],"bottom_description":"","description":"Helpful utility for controlling the camera around the origin.<br/>Enables quick camera controls without much of an implementation.","_type":"method"}}

0 commit comments

Comments
 (0)