mirror of
https://github.com/ryantimpe/brickr.git
synced 2026-05-02 08:39:36 -05:00
Ready for 2.0 release, minus checks
This commit is contained in:
@@ -15,21 +15,25 @@
|
||||
<link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png" />
|
||||
<link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png" />
|
||||
<link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png" />
|
||||
|
||||
<!-- jquery -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
||||
<!-- Bootstrap -->
|
||||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
|
||||
|
||||
<!-- Font Awesome icons -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.7.1/css/all.min.css" integrity="sha256-nAmazAk6vS34Xqo0BSrTb+abbtFlgsFK7NKSi6o7Y78=" crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.7.1/css/v4-shims.min.css" integrity="sha256-6qHlizsOWFskGlwVOKuns+D1nB6ssZrHQrNj1wGplHc=" crossorigin="anonymous" />
|
||||
|
||||
<!-- clipboard.js -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
|
||||
|
||||
<!-- sticky kit -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
|
||||
<!-- headroom.js -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.9.4/headroom.min.js" integrity="sha256-DJFC1kqIhelURkuza0AvYal5RxMtpzLjFhsnVIeuk+U=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.9.4/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script>
|
||||
|
||||
<!-- pkgdown -->
|
||||
<link href="../pkgdown.css" rel="stylesheet">
|
||||
@@ -39,15 +43,15 @@
|
||||
|
||||
<link href="../extra.css" rel="stylesheet">
|
||||
|
||||
|
||||
<meta property="og:title" content="Build a brickr 3D object from rayshader hillshade & heightmap matrices — bricks_from_rayshader" />
|
||||
|
||||
<meta property="og:description" content="Build a brickr 3D object from rayshader hillshade &amp; heightmap matrices" />
|
||||
|
||||
<meta property="og:image" content="http://brickr.org/logo.png" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- mathjax -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
|
||||
@@ -58,6 +62,7 @@
|
||||
<![endif]-->
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -74,7 +79,7 @@
|
||||
</button>
|
||||
<span class="navbar-brand">
|
||||
<a class="navbar-link" href="../index.html">brickr</a>
|
||||
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.1.0.9024</span>
|
||||
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.2.0</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -82,7 +87,7 @@
|
||||
<ul class="nav navbar-nav">
|
||||
<li>
|
||||
<a href="../index.html">
|
||||
<span class="fa fa-home fa-lg"></span>
|
||||
<span class="fas fa fas fa-home fa-lg"></span>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
@@ -117,11 +122,10 @@
|
||||
<a href="../news/index.html">Changelog</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<a href="https://github.com/ryantimpe/brickr">
|
||||
<span class="fa fa-github fa-lg"></span>
|
||||
<span class="fab fa fab fa-github fa-lg"></span>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
@@ -132,6 +136,7 @@
|
||||
</div><!--/.navbar -->
|
||||
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<div class="row">
|
||||
@@ -143,24 +148,22 @@
|
||||
</div>
|
||||
|
||||
<div class="ref-description">
|
||||
|
||||
<p>Build a brickr 3D object from rayshader hillshade & heightmap matrices</p>
|
||||
|
||||
</div>
|
||||
|
||||
<pre class="usage"><span class='fu'>bricks_from_rayshader</span>(<span class='no'>hillshade</span>, <span class='no'>heightmap</span>, <span class='kw'>max_height</span> <span class='kw'>=</span> <span class='fl'>12</span>,
|
||||
<span class='kw'>img_size</span> <span class='kw'>=</span> <span class='fl'>48</span>)</pre>
|
||||
|
||||
|
||||
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
|
||||
<table class="ref-arguments">
|
||||
<colgroup><col class="name" /><col class="desc" /></colgroup>
|
||||
<tr>
|
||||
<th>hillshade</th>
|
||||
<td><p>Same as <code><a href='https://www.rdocumentation.org/packages/rayshader/topics/plot_3d'>rayshader::plot_3d()</a></code>. Hillshade/image to be added to 3D surface map.</p></td>
|
||||
<td><p>Same as <code><a href='https://rdrr.io/pkg/rayshader/man/plot_3d.html'>rayshader::plot_3d()</a></code>. Hillshade/image to be added to 3D surface map.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>heightmap</th>
|
||||
<td><p>Same as <code><a href='https://www.rdocumentation.org/packages/rayshader/topics/plot_3d'>rayshader::plot_3d()</a></code>. A two-dimensional matrix, where each entry in the matrix is the elevation at that point. All points are assumed to be evenly spaced.</p></td>
|
||||
<td><p>Same as <code><a href='https://rdrr.io/pkg/rayshader/man/plot_3d.html'>rayshader::plot_3d()</a></code>. A two-dimensional matrix, where each entry in the matrix is the elevation at that point. All points are assumed to be evenly spaced.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>max_height</th>
|
||||
@@ -169,50 +172,51 @@
|
||||
<tr>
|
||||
<th>img_size</th>
|
||||
<td><p>Size of output image in pixel, where one pixel = one 'brick'. Use a single value (e.g. <code>48</code>) for a square image with 48 pixels on each side.
|
||||
Use an array of two values for a rectangular image <code><a href='https://www.rdocumentation.org/packages/base/topics/c'>c(width, height)</a></code>.</p></td>
|
||||
Use an array of two values for a rectangular image <code><a href='https://rdrr.io/r/base/c.html'>c(width, height)</a></code>.</p></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>
|
||||
|
||||
<p>A list with elements <code>threed_elevation</code> and <code>threed_hillshade</code> to created 3D mosiacs with the <code>rayshader</code> package.</p>
|
||||
|
||||
<h2 class="hasAnchor" id="see-also"><a class="anchor" href="#see-also"></a>See also</h2>
|
||||
|
||||
<div class='dont-index'><p>Other 3D Models: <code><a href='bricks_from_coords.html'>bricks_from_coords</a></code>,
|
||||
<code><a href='bricks_from_excel.html'>bricks_from_excel</a></code>,
|
||||
<code><a href='bricks_from_mosaic.html'>bricks_from_mosaic</a></code>,
|
||||
<code><a href='bricks_from_table.html'>bricks_from_table</a></code>,
|
||||
<code><a href='build_bricks_rayshader.html'>build_bricks_rayshader</a></code>,
|
||||
<code><a href='build_bricks.html'>build_bricks</a></code></p></div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
|
||||
<h2>Contents</h2>
|
||||
<ul class="nav nav-pills nav-stacked">
|
||||
<li><a href="#arguments">Arguments</a></li>
|
||||
|
||||
<li><a href="#value">Value</a></li>
|
||||
|
||||
<li><a href="#see-also">See also</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<footer>
|
||||
<div class="copyright">
|
||||
<p>Developed by Ryan Timpe.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown">
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
|
||||
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.4.1.</p>
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user