|
@@ -402,13 +402,6 @@ render();
|
|
<p></p>
|
|
<p></p>
|
|
<p>我希望上面讲的这些能有用. 通过threejs提供的方法或者自己写着色器来使用变形对象是一种常见的移动大量对象的手段. 作为一个例子, 我们可以给每一个立方体一个随机目标, 然后从这个位置变换到另一个位置. 这可能是一种超酷的介绍地球的方法. </p>
|
|
<p>我希望上面讲的这些能有用. 通过threejs提供的方法或者自己写着色器来使用变形对象是一种常见的移动大量对象的手段. 作为一个例子, 我们可以给每一个立方体一个随机目标, 然后从这个位置变换到另一个位置. 这可能是一种超酷的介绍地球的方法. </p>
|
|
<p>接下来你可能感兴趣的是给地球上的一个位置添加标签, 这将在<a href="align-html-elements-to-3d.html">3D中排布HTML元素</a>中涉及. </p>
|
|
<p>接下来你可能感兴趣的是给地球上的一个位置添加标签, 这将在<a href="align-html-elements-to-3d.html">3D中排布HTML元素</a>中涉及. </p>
|
|
-<p>Note: We could try to just graph percent of men or percent of women or the raw
|
|
|
|
-difference but based on how we are displaying the info, cubes that grow from the
|
|
|
|
-surface of the earth, we'd prefer most cubes to be low. If we used one of these
|
|
|
|
-other comparisons most cubes would be about 1/2 their maximum height which would
|
|
|
|
-not make a good visualization. Feel free to change the <code class="notranslate" translate="no">amountGreaterThan</code> from
|
|
|
|
-<a href="/docs/#api/zh/math/Math.max(a - b, 0)"><code class="notranslate" translate="no">Math.max(a - b, 0)</code></a> to something like <code class="notranslate" translate="no">(a - b)</code> "raw difference" or <code class="notranslate" translate="no">a / (a +
|
|
|
|
-b)</code> "percent" and you'll see what I mean.</p>
|
|
|
|
<p>注: 我们可以试着用图表表示男性的百分比或女性的百分比或原始差异. 但根据我们显示信息的方式, 也就是从地球表面生长出来的立方体的显示方式, 我们希望大多数立方体都是矮的. 如果我们使用其中一个做基准, 大多数立方体的高度大约是它们最大高度的1/2. 效果会很差. 自己动手改一下<code class="notranslate" translate="no">amountGreaterThan</code>中的<a href="/docs/#api/zh/math/Math.max(a - b, 0)"><code class="notranslate" translate="no">Math.max(a - b, 0)</code></a> 到<code class="notranslate" translate="no">(a - b)</code> "原始差异"或者 <code class="notranslate" translate="no">a / (a + b)</code>"百分比", 你就会明白我什么意思了. </p>
|
|
<p>注: 我们可以试着用图表表示男性的百分比或女性的百分比或原始差异. 但根据我们显示信息的方式, 也就是从地球表面生长出来的立方体的显示方式, 我们希望大多数立方体都是矮的. 如果我们使用其中一个做基准, 大多数立方体的高度大约是它们最大高度的1/2. 效果会很差. 自己动手改一下<code class="notranslate" translate="no">amountGreaterThan</code>中的<a href="/docs/#api/zh/math/Math.max(a - b, 0)"><code class="notranslate" translate="no">Math.max(a - b, 0)</code></a> 到<code class="notranslate" translate="no">(a - b)</code> "原始差异"或者 <code class="notranslate" translate="no">a / (a + b)</code>"百分比", 你就会明白我什么意思了. </p>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
@@ -421,4 +414,4 @@ b)</code> "percent" and you'll see what I mean.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-</body></html>
|
|
|
|
|
|
+</body></html>
|