Skip to content

Commit

Permalink
docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasvlevi committed Aug 8, 2024
1 parent 079c3bb commit 886cb9c
Show file tree
Hide file tree
Showing 57 changed files with 437 additions and 664 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta httpEquiv="X-UA-Compatible" content="ie=edge"/><meta name="description" 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."/><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="Interpreter for Creative Coding | lu5, a Lua Interpreter for Creative Coding" 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="./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="Interpreter for Creative Coding | lu5, a Lua Interpreter for Creative Coding"/><meta name="twitter:description" 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."/><meta name="twitter:image" content="./assets/lu5_thumbnail.png"/><link href="https://matiasvlevi.github.io/lu5/latest/" rel="canonical"/><link href="./assets/style.css" rel="stylesheet"/><link href="./assets/lu5-hljs-theme.css" rel="stylesheet"/><script src="./assets/hljs.min.js"></script><script type="text/javascript" src="./assets/index.js"></script><script>document.addEventListener("DOMContentLoaded", function (event) {hljs.highlightAll();main();})</script><title>Interpreter for Creative Coding | lu5, a Lua Interpreter for Creative Coding</title></head><body><main><header><a href="../"><img src="./assets/logo.svg" width="100px"/></a><h1 class="module">Interpreter for Creative Coding</h1></header><div class="container flex flex-col" style="gap: 1rem;" id="reactive"><div><p style="max-width:34rem;">Lu5 is a free and open-source Lua interpreter for Creative Coding.<br/></p></div><div><h2>Documentation</h2><ul style="margin: 0 1rem" class="menu"><li class="index"><a href="./latest" class="flex" style="gap:0.5rem;align-items:center"><span style="font-size: 1.25rem">latest </span><span class="font-size: 1rem; color:var(--grey)">(v0.0.6)</span></a></li><li style="font-size: 1.25rem" class="index"><a href="./v0.0.6">v0.0.6</a></li><li style="font-size: 1.25rem" class="index"><a href="./v0.0.5">v0.0.5</a></li><li style="font-size: 1.25rem" class="index"><a href="./v0.0.4">v0.0.4</a></li><li style="font-size: 1.25rem" class="index"><a href="./v0.0.3">v0.0.3</a></li><li style="font-size: 1.25rem" class="index"><a href="./v0.0.2">v0.0.2</a></li><li style="font-size: 1.25rem" class="index"><a href="./v0.0.1">v0.0.1</a></li></ul></div><div style="margin-top: 2rem"><h2>Builds</h2><div style="gap: 0.5rem;" class="builds"><ul style="margin: 0 1rem" class="menu tags"><li class="index"><span class="text">0.0.6</span></li><li class="index"><span class="text">0.0.5</span></li><li class="index"><span class="text">0.0.4</span></li><li class="index"><span class="text">0.0.3</span></li><li class="index"><span class="text">0.0.2</span></li><li class="index"><span class="text">0.0.1</span></li></ul><ul style="margin: 0 1rem" class="menu "><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.6/lu5-x86_64-linux-0.0.6.zip">lu5-x86_64-linux-0.0.6.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.5/lu5-x86_64-linux-0.0.5.zip">lu5-x86_64-linux-0.0.5.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.4/lu5-x86_64-linux-0.0.4.zip">lu5-x86_64-linux-0.0.4.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.3/lu5-x86_64-linux-0.0.3.zip">lu5-x86_64-linux-0.0.3.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.2/lu5-x86_64-linux-0.0.2.zip">lu5-x86_64-linux-0.0.2.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.1/lu5-x86_64-linux-0.0.1.zip">lu5-x86_64-linux-0.0.1.zip</a></li></ul><ul style="margin: 0 1rem" class="menu "><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.6/lu5-x86_64-win-0.0.6.zip">lu5-x86_64-win-0.0.6.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.5/lu5-x86_64-win-0.0.5.zip">lu5-x86_64-win-0.0.5.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.4/lu5-x86_64-win-0.0.4.zip">lu5-x86_64-win-0.0.4.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.3/lu5-x86_64-win-0.0.3.zip">lu5-x86_64-win-0.0.3.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.2/lu5-x86_64-win-0.0.2.zip">lu5-x86_64-win-0.0.2.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.1/lu5-x86_64-win-0.0.1.zip">lu5-x86_64-win-0.0.1.zip</a></li></ul></div></div></div></main></body></html>
<html lang="en"><head><meta charset="UTF-8"/><meta content="width=device-width, initial-scale=1.0" name="viewport"/><meta content="ie=edge" httpEquiv="X-UA-Compatible"/><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 property="og:title" content="lu5 | Interpreter for Creative Coding"/><meta property="og:description" 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."/><meta property="og:image" content="./assets/lu5_thumbnail.png"/><meta property="og:url" content="https://matiasvlevi.github.io/lu5"/><meta content="summary_large_image" name="twitter:card"/><meta content="lu5 | Interpreter for Creative Coding" 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="./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();main();})</script><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><title>lu5 | Interpreter for Creative Coding</title></head><body><main><header><a href="../"><img src="./assets/logo.svg" width="100px"/></a><h1 class="module">Interpreter for Creative Coding</h1></header><div class="container flex flex-col" style="gap: 1rem;" id="reactive"><div><p style="max-width:34rem;">Lu5 is a free and open-source Lua interpreter for Creative Coding.<br/></p></div><div><h2>Documentation</h2><ul class="menu" style="margin: 0 1rem"><li class="index"><a class="flex" style="gap:0.5rem;align-items:center" href="./latest"><span style="font-size: 1.25rem">latest </span><span class="font-size: 1rem; color:var(--grey)">(v0.0.6)</span></a></li><li class="index" style="font-size: 1.25rem"><a href="./v0.0.6">v0.0.6</a></li><li class="index" style="font-size: 1.25rem"><a href="./v0.0.5">v0.0.5</a></li><li class="index" style="font-size: 1.25rem"><a href="./v0.0.4">v0.0.4</a></li><li class="index" style="font-size: 1.25rem"><a href="./v0.0.3">v0.0.3</a></li><li class="index" style="font-size: 1.25rem"><a href="./v0.0.2">v0.0.2</a></li><li class="index" style="font-size: 1.25rem"><a href="./v0.0.1">v0.0.1</a></li></ul></div><div style="margin-top: 2rem"><h2>Builds</h2><div class="builds" style="gap: 0.5rem;"><ul class="menu tags" style="margin: 0 1rem"><li class="index"><span class="text">0.0.6</span></li><li class="index"><span class="text">0.0.5</span></li><li class="index"><span class="text">0.0.4</span></li><li class="index"><span class="text">0.0.3</span></li><li class="index"><span class="text">0.0.2</span></li><li class="index"><span class="text">0.0.1</span></li></ul><ul class="menu " style="margin: 0 1rem"><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.6/lu5-x86_64-linux-0.0.6.zip">lu5-x86_64-linux-0.0.6.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.5/lu5-x86_64-linux-0.0.5.zip">lu5-x86_64-linux-0.0.5.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.4/lu5-x86_64-linux-0.0.4.zip">lu5-x86_64-linux-0.0.4.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.3/lu5-x86_64-linux-0.0.3.zip">lu5-x86_64-linux-0.0.3.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.2/lu5-x86_64-linux-0.0.2.zip">lu5-x86_64-linux-0.0.2.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.1/lu5-x86_64-linux-0.0.1.zip">lu5-x86_64-linux-0.0.1.zip</a></li></ul><ul class="menu " style="margin: 0 1rem"><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.6/lu5-x86_64-win-0.0.6.zip">lu5-x86_64-win-0.0.6.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.5/lu5-x86_64-win-0.0.5.zip">lu5-x86_64-win-0.0.5.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.4/lu5-x86_64-win-0.0.4.zip">lu5-x86_64-win-0.0.4.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.3/lu5-x86_64-win-0.0.3.zip">lu5-x86_64-win-0.0.3.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.2/lu5-x86_64-win-0.0.2.zip">lu5-x86_64-win-0.0.2.zip</a></li><li class="index underline"><a href="https://github.com/matiasvlevi/lu5/releases/download/v0.0.1/lu5-x86_64-win-0.0.1.zip">lu5-x86_64-win-0.0.1.zip</a></li></ul></div></div></div></main></body></html>
27 changes: 0 additions & 27 deletions docs/latest/classes.html

This file was deleted.

27 changes: 27 additions & 0 deletions docs/latest/classes/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<html lang="en"><head><meta charset="UTF-8"/><meta content="width=device-width, initial-scale=1.0" name="viewport"/><meta content="ie=edge" httpEquiv="X-UA-Compatible"/><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 property="og:title" content="lu5 | classes"/><meta property="og:description" 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."/><meta property="og:image" content="../../assets/lu5_thumbnail.png"/><meta property="og:url" content="https://matiasvlevi.github.io/lu5"/><meta content="summary_large_image" name="twitter:card"/><meta content="lu5 | classes" 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="../../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();main();})</script><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><title>lu5 | classes</title></head><body><div class="nav" id="menu"><br/><ul><li class="btn"><a href="./window.html" class="light"><h4>window</h4></a></li><li class="btn"><a href="./typography.html" class="light"><h4>typography</h4></a></li><li class="btn"><a href="./shapes.html" class="light"><h4>shapes</h4></a></li><li class="btn"><a href="./setting.html" class="light"><h4>setting</h4></a></li><li class="btn"><a href="./mouse.html" class="light"><h4>mouse</h4></a></li><li class="btn"><a href="./vector.html" class="light"><h4>vector</h4></a></li><li class="btn"><a href="./math.html" class="light"><h4>math</h4></a></li><li class="btn"><a href="./keyboard.html" class="light"><h4>keyboard</h4></a></li><li class="btn"><a href="./io.html" class="light"><h4>io</h4></a></li><li class="btn"><a href="./image.html" class="light"><h4>image</h4></a></li><li class="btn"><a href="./classes.html" class="light"><h4>classes</h4></a></li></ul></div><main><header><a href="../"><img src="../../assets/logo.svg" width="100px"/></a><h1 class="module">classes</h1><button class="menuBtn" onclick="toggleMenu()"><img class="menuIcon" width="40px" src="../../assets/arrow_left.svg"/></button><span class="text version">v0.0.6</span></header><div class="method" id="class"><div class="methodDeclaration"><code>class(name);</code></div><p>Create a class. <br/>if a class implements a <code class="inline">print</code> method, it can be used in the <a href="./io.html#print"><code class="inline">print</code></a> function</p><h4>Arguments</h4><div class="params"><div class="param"><code class="name">name</code><span class="text desc">The class name</span></div></div><p></p><pre><code class="language-lua"> local Player = class('Player');

function Player:init(x, y)
self.x = x;
self.y = y;
return self;
end

function Player:draw()
circle(self.x, self.y, 16);
end


-- Create 2 players and draw them
local p1 = Player:new(100, 200);
local p2 = Player:new(300, 200);

function setup()
createWindow(400, 400);
end

function draw()
background(51);

p1:draw();
p2:draw();
end</code></pre><br/></div></main></body></html>
Loading

0 comments on commit 886cb9c

Please sign in to comment.