<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
    <title>0-0mfuji</title>
    <subtitle>私は22歳の組み込みシステム電子エンジニアで、主にロボティクス、低レベルのコーディング、そして自作開発に興味があります。</subtitle>
    <link rel="self" type="application/atom+xml" href="https://0-0mfuji.com/ja/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://0-0mfuji.com"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2025-01-01T00:00:00+00:00</updated>
    <id>https://0-0mfuji.com/ja/atom.xml</id>
    <entry xml:lang="ja">
        <title>機能リスト</title>
        <published>2025-01-01T00:00:00+00:00</published>
        <updated>2025-01-01T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Unknown
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://0-0mfuji.com/ja/posts/feature-list/"/>
        <id>https://0-0mfuji.com/ja/posts/feature-list/</id>
        
        <content type="html" xml:base="https://0-0mfuji.com/ja/posts/feature-list/">&lt;h2 id=&quot;1-uikonponento&quot;&gt;1. UIコンポーネント&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;1-1-kodoburotuku&quot;&gt;1.1 コードブロック&lt;&#x2F;h3&gt;
&lt;pre class=&quot;giallo&quot; style=&quot;color: #24292E; background-color: #FFFFFF;&quot;&gt;&lt;code data-lang=&quot;rust&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot; style=&quot;color: #1B1F234D;&quot;&gt;1&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;pub fn&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt; main&lt;&#x2F;span&gt;&lt;span&gt;() {&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot; style=&quot;color: #1B1F234D;&quot;&gt;2&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;    println!&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #032F62;&quot;&gt;&amp;quot;High performance routing!&amp;quot;&lt;&#x2F;span&gt;&lt;span&gt;);&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot; style=&quot;color: #1B1F234D;&quot;&gt;3&lt;&#x2F;span&gt;&lt;span&gt;}&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;&lt;h3 id=&quot;1-2-suraidosiyo&quot;&gt;1.2 スライドショー&lt;&#x2F;h3&gt;

&lt;div class=&quot;slideshow-container&quot; id=&quot;slideshow-features-slideshow&quot;&gt;
    &lt;div class=&quot;slideshow-viewport&quot; style=&quot;aspect-ratio: 1816&amp;amp;#x2F;1938;&quot;&gt;
        
        &lt;img src=&quot;https:&#x2F;&#x2F;placeholder.pics&#x2F;svg&#x2F;800x400&#x2F;222&#x2F;00b7ff&#x2F;Feature%201&quot; 
             class=&quot;slideshow-image active&quot; 
             data-index=&quot;0&quot;
             alt=&quot;Slide 1&quot;&gt;
        
        &lt;img src=&quot;https:&#x2F;&#x2F;placeholder.pics&#x2F;svg&#x2F;800x400&#x2F;181818&#x2F;ddd&#x2F;Feature%202&quot; 
             class=&quot;slideshow-image &quot; 
             data-index=&quot;1&quot;
             alt=&quot;Slide 2&quot;&gt;
        
    &lt;&#x2F;div&gt;
    
    
    &lt;p class=&quot;slideshow-caption&quot;&gt;各種機能のイメージ図&lt;&#x2F;p&gt;
    

    &lt;div class=&quot;slideshow-controls&quot;&gt;
        &lt;span class=&quot;slideshow-status&quot;&gt;clk &lt;span class=&quot;current-step&quot;&gt;1&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
        
        &lt;button class=&quot;slideshow-button prev&quot; aria-label=&quot;Previous&quot;&gt;
            &lt;svg viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z&quot;&#x2F;&gt;&lt;&#x2F;svg&gt;
        &lt;&#x2F;button&gt;
        
        &lt;button class=&quot;slideshow-button play-pause&quot; aria-label=&quot;Play&#x2F;Pause&quot;&gt;
            &lt;svg class=&quot;icon-pause&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M6 6h4v12H6zM14 6h4v12h-4z&quot;&#x2F;&gt;&lt;&#x2F;svg&gt;
            &lt;svg class=&quot;icon-play&quot; viewBox=&quot;0 0 24 24&quot; style=&quot;display:none;&quot;&gt;&lt;path d=&quot;M8 5v14l11-7z&quot;&#x2F;&gt;&lt;&#x2F;svg&gt;
        &lt;&#x2F;button&gt;
        
        &lt;button class=&quot;slideshow-button stop&quot; aria-label=&quot;Stop&quot;&gt;
            &lt;svg viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M6 6h12v12H6z&quot;&#x2F;&gt;&lt;&#x2F;svg&gt;
        &lt;&#x2F;button&gt;
        
        &lt;button class=&quot;slideshow-button next&quot; aria-label=&quot;Next&quot;&gt;
            &lt;svg viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z&quot;&#x2F;&gt;&lt;&#x2F;svg&gt;
        &lt;&#x2F;button&gt;
    &lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;

&lt;script&gt;
(function() {
    const container = document.getElementById(&#x27;slideshow-features-slideshow&#x27;);
    const images = container.querySelectorAll(&#x27;.slideshow-image&#x27;);
    const stepDisplay = container.querySelector(&#x27;.current-step&#x27;);
    const playPauseBtn = container.querySelector(&#x27;.play-pause&#x27;);
    const playIcon = playPauseBtn.querySelector(&#x27;.icon-play&#x27;);
    const pauseIcon = playPauseBtn.querySelector(&#x27;.icon-pause&#x27;);
    
    let currentIndex = 0;
    let isPlaying = false;
    let intervalId = null;

    function showImage(index) {
        images[currentIndex].classList.remove(&#x27;active&#x27;);
        currentIndex = (index + images.length) % images.length;
        images[currentIndex].classList.add(&#x27;active&#x27;);
        stepDisplay.textContent = currentIndex + 1;
    }

    function togglePlay() {
        if (isPlaying) {
            clearInterval(intervalId);
            playIcon.style.display = &#x27;block&#x27;;
            pauseIcon.style.display = &#x27;none&#x27;;
        } else {
            intervalId = setInterval(() =&gt; showImage(currentIndex + 1), 2000);
            playIcon.style.display = &#x27;none&#x27;;
            pauseIcon.style.display = &#x27;block&#x27;;
        }
        isPlaying = !isPlaying;
    }

    container.querySelector(&#x27;.prev&#x27;).addEventListener(&#x27;click&#x27;, () =&gt; {
        if (isPlaying) togglePlay();
        showImage(currentIndex - 1);
    });

    container.querySelector(&#x27;.next&#x27;).addEventListener(&#x27;click&#x27;, () =&gt; {
        if (isPlaying) togglePlay();
        showImage(currentIndex + 1);
    });

    container.querySelector(&#x27;.stop&#x27;).addEventListener(&#x27;click&#x27;, () =&gt; {
        if (isPlaying) togglePlay();
        showImage(0);
    });

    playPauseBtn.addEventListener(&#x27;click&#x27;, togglePlay);
})();
&lt;&#x2F;script&gt;
&lt;h3 id=&quot;1-3-shu-shi&quot;&gt;1.3 数式&lt;&#x2F;h3&gt;
&lt;span class=&quot;katex-wrapper&quot;&gt;
    $$\mathcal{L} = \sum_{i=1}^{n} (y_i - f(x_i))^2 + \lambda \int [f&#x27;&#x27;(x)]^2 dx$$

&lt;&#x2F;span&gt;
&lt;h3 id=&quot;1-4-toguru-burotuku&quot;&gt;1.4 トグル・ブロック&lt;&#x2F;h3&gt;
&lt;div class=&quot;toggle-block&quot; id=&quot;toggle-feature-toggle&quot;&gt;
    &lt;div class=&quot;toggle-panels&quot;&gt;&lt;div class=&quot;toggle-panel active&quot; data-index=&quot;1&quot;&gt;&lt;span class=&quot;katex-wrapper&quot;&gt;
    $$\text{Sigmoid}(x) = \frac{1}{1 + e^{-x}}$$

&lt;&#x2F;span&gt;&lt;&#x2F;div&gt;&lt;div class=&quot;toggle-panel &quot; data-index=&quot;2&quot;&gt;def sigmoid(x):
    return 1 &#x2F; (1 + math.exp(-x))&lt;&#x2F;div&gt;&lt;div class=&quot;toggle-panel &quot; data-index=&quot;3&quot;&gt;fn sigmoid(x: f64) -&gt; f64 {
    1.0 &#x2F; (1.0 + (-x).exp())
}&lt;&#x2F;div&gt;&lt;&#x2F;div&gt;
    &lt;div class=&quot;toggle-tabs&quot;&gt;&lt;button class=&quot;toggle-tab active&quot; 
                        data-target=&quot;1&quot;
                        onclick=&quot;switchToggle(&#x27;feature-toggle&#x27;, 1)&quot;&gt;Formula&lt;&#x2F;button&gt;&lt;button class=&quot;toggle-tab &quot; 
                        data-target=&quot;2&quot;
                        onclick=&quot;switchToggle(&#x27;feature-toggle&#x27;, 2)&quot;&gt;Python&lt;&#x2F;button&gt;&lt;button class=&quot;toggle-tab &quot; 
                        data-target=&quot;3&quot;
                        onclick=&quot;switchToggle(&#x27;feature-toggle&#x27;, 3)&quot;&gt;Rust&lt;&#x2F;button&gt;&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
&lt;script&gt;
if (typeof switchToggle !== &#x27;function&#x27;) {
    window.switchToggle = function(id, index) {
        const container = document.getElementById(&#x27;toggle-&#x27; + id);
        const tabs = container.querySelectorAll(&#x27;.toggle-tab&#x27;);
        const panels = container.querySelectorAll(&#x27;.toggle-panel&#x27;);
        tabs.forEach(tab =&gt; {
            tab.classList.toggle(&#x27;active&#x27;, parseInt(tab.getAttribute(&#x27;data-target&#x27;)) === index);
        });
        panels.forEach(panel =&gt; {
            panel.classList.toggle(&#x27;active&#x27;, parseInt(panel.getAttribute(&#x27;data-index&#x27;)) === index);
        });
    };
}
&lt;&#x2F;script&gt;
&lt;h3 id=&quot;1-5-sukurorulian-dong-xing&quot;&gt;1.5 スクロール連動型&lt;&#x2F;h3&gt;




&lt;div class=&quot;code-scroller&quot;&gt;
  &lt;div class=&quot;code-scroller-steps&quot;&gt;
    
      
    
      
        
        
        
        &lt;div class=&quot;code-scroller-step&quot; data-lines=&quot;1-2&quot;&gt;
          &lt;ul&gt;
&lt;li&gt;&lt;strong&gt;初期評価&lt;&#x2F;strong&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;

        &lt;&#x2F;div&gt;
      
    
      
        
        
        
        &lt;div class=&quot;code-scroller-step&quot; data-lines=&quot;4-6&quot;&gt;
          &lt;ul&gt;
&lt;li&gt;&lt;strong&gt;メインループ&lt;&#x2F;strong&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;

        &lt;&#x2F;div&gt;
      
    
  &lt;&#x2F;div&gt;
  &lt;div class=&quot;code-scroller-code&quot;&gt;
    &lt;pre class=&quot;giallo&quot; style=&quot;color: #24292E; background-color: #FFFFFF;&quot;&gt;&lt;code data-lang=&quot;rust&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot; style=&quot;color: #1B1F234D;&quot;&gt;1&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;fn&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt; process&lt;&#x2F;span&gt;&lt;span&gt;(data&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;: &amp;amp;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;Vec&lt;&#x2F;span&gt;&lt;span&gt;&amp;lt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;i32&lt;&#x2F;span&gt;&lt;span&gt;&amp;gt;) {&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot; style=&quot;color: #1B1F234D;&quot;&gt;2&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;    if&lt;&#x2F;span&gt;&lt;span&gt; data&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;.&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;is_empty&lt;&#x2F;span&gt;&lt;span&gt;() {&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt; return&lt;&#x2F;span&gt;&lt;span&gt;; }&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot; style=&quot;color: #1B1F234D;&quot;&gt;3&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot; style=&quot;color: #1B1F234D;&quot;&gt;4&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;    for&lt;&#x2F;span&gt;&lt;span&gt; item&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt; in&lt;&#x2F;span&gt;&lt;span&gt; data {&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot; style=&quot;color: #1B1F234D;&quot;&gt;5&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;        println!&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #032F62;&quot;&gt;&amp;quot;Processing: {}&amp;quot;&lt;&#x2F;span&gt;&lt;span&gt;, item);&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot; style=&quot;color: #1B1F234D;&quot;&gt;6&lt;&#x2F;span&gt;&lt;span&gt;    }&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot; style=&quot;color: #1B1F234D;&quot;&gt;7&lt;&#x2F;span&gt;&lt;span&gt;}&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
  &lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
</content>
        
    </entry>
</feed>
