菜鸟教程小白 发表于 2022-12-12 09:36:26

ios - 随机移动应用图标生成算法


                                            <p><div>
            <aside class="s-notice s-notice__info post-notice js-post-notice mb16"role="status">
      <div class="d-flex fd-column fw-nowrap">
            <div class="d-flex fw-nowrap">
                <div class="flex--item wmn0 fl1 lh-lg">
                  <div class="flex--item fl1 lh-lg">
                        <b>这个问题在这里已经有了答案</b>:
                        
                  <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><h2>标识</h2>
<p>你所说的随机图标是一个<strong>Identicon</strong>。</p>
<p>标识是从某种形式的用户信息生成的图标。</p>
<blockquote>
<p>An Identicon is a visual representation of a hash value, usually of an
IP address, that serves to identify a user of a computer system as a
form of avatar while protecting the users&#39; privacy. The original
Identicon was a 9-block graphic, and the representation has been
extended to other graphic forms by third parties. – <a href="http://en.wikipedia.org/wiki/Identicon" rel="noreferrer noopener nofollow">Wikipedia</a></p>
</blockquote>
<h2>示例实现</h2>
<p>你可以看看:</p>
<ul>
<li><p> <a href="https://github.com/RobThree/NIdenticon" rel="noreferrer noopener nofollow">NIdenticon</a> - 一个有助于创建简单标识符的 C# 库。检查 <code>IdenticonGenerator</code> 类,该类只有一个名为 <code>Create()</code> 的方法。您应该能够从中提取算法/一般思想。</p>
</li>
<li><p> <a href="https://github.com/davidhampgonsalves/Contact-Identicons" rel="noreferrer noopener nofollow">Contact-Identicons source</a> - Android 应用程序源代码。该应用程序生成了 Identicons。 <a href="http://www.davidhampgonsalves.com/Identicons" rel="noreferrer noopener nofollow">This blog post</a>包含一个 Java 代码示例,用于生成一个 5*5 像素的水平对称标识,与 github 使用的标识非常相似。</p>
</li>
<li><p> <a href="https://github.com/seaburg/IGIdenticon" rel="noreferrer noopener nofollow">IGIdenticon source</a> - Objective-C 标识符生成器。 <a href="https://github.com/donpark/identicon" rel="noreferrer noopener nofollow">identicon</a> 的端口用 Java 编写的库。</p>
</li>
</ul>
<p>祝你好运!</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 随机移动应用图标生成算法,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/23399161/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/23399161/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 随机移动应用图标生成算法