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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>This shows some plugins | My Python Project</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
<link rel="stylesheet" href="m-dark+documentation.compiled.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<header><nav id="navigation">
<div class="m-container">
<div class="m-row">
<a href="index.html" id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m">My Python Project</a>
</div>
</div>
</nav></header>
<main><article>
<div class="m-container m-container-inflatable">
<div class="m-row">
<div class="m-col-l-10 m-push-l-1">
<h1>
This shows some plugins
</h1>
<p>This project is <a href="https://github.com/mosra/m.css">on GitHub</a> and</p>
<table class="m-table">
<thead>
<tr><th>The</th>
<th>tables</th>
</tr>
</thead>
<tbody>
<tr><td>render</td>
<td>nicer now.</td>
</tr>
</tbody>
</table>
<aside class="m-note m-success">
Yup!</aside>
<p>See, <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glDrawElements.xhtml">glDrawElements()</a> is the grandpa of <a href="https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDraw.html">vkCmdDraw()</a>. But
<a class="m-flat" href="javascript:alert("boo!")">not everything is as it “seems” to be</a>
— however the typography makes that bearable. Python bindings for
<a href="https://doc.magnum.graphics/corrade/namespaceCorrade_1_1Containers.html">Corrade::Containers</a> and Magnum are nice too:</p>
<pre class="m-code"><span class="gp">>>> </span><span class="kn">from</span> <span class="nn">magnum</span> <span class="kn">import</span> <span class="o">*</span>
<span class="gp">>>> </span><span class="n">a</span> <span class="o">=</span> <span class="n">Vector3</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">2.0</span><span class="p">,</span> <span class="mf">3.0</span><span class="p">)</span>
<span class="gp">>>> </span><span class="n">a</span><span class="o">.</span><span class="n">dot</span><span class="p">()</span>
<span class="go">14.0</span></pre>
<p>Images!</p>
<img class="m-image" src="tiny.png" style="width: 60px" />
<figure class="m-figure">
<img src="tiny.png" style="width: 200px" />
<figcaption>Image in a subdir</figcaption>
</figure>
<p class="m-transition">~~~ Custom plugins! ~~~</p>
</div>
</div>
</div>
</article></main>
</body>
</html>
|