<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Bonface Njuguna</title>
    <description>The latest articles on Forem by Bonface Njuguna (@bonfacenjuguna).</description>
    <link>https://forem.com/bonfacenjuguna</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2724038%2F53a20971-3407-420c-8b30-40e96b1ded6e.jpeg</url>
      <title>Forem: Bonface Njuguna</title>
      <link>https://forem.com/bonfacenjuguna</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/bonfacenjuguna"/>
    <language>en</language>
    <item>
      <title>Nature's cycle - Simulate seasons, time of day and weather</title>
      <dc:creator>Bonface Njuguna</dc:creator>
      <pubDate>Fri, 17 Jan 2025 19:44:06 +0000</pubDate>
      <link>https://forem.com/bonfacenjuguna/natures-cycle-simulate-seasons-time-of-day-and-weather-2b7c</link>
      <guid>https://forem.com/bonfacenjuguna/natures-cycle-simulate-seasons-time-of-day-and-weather-2b7c</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github"&gt;GitHub Copilot Challenge &lt;/a&gt;: Transitions and Transformations&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;This project is a simple nature simulation that showcases transitions and transformations in the environment. It includes day-to-night cycles, seasonal changes, and weather effects such as rain, snow, and wind. The simulation is built using Three.js and Howler.js for audio effects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3xrkhi8g5cc3hs08xll6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3xrkhi8g5cc3hs08xll6.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F75ptk3rbq5jaqx6ir2xj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F75ptk3rbq5jaqx6ir2xj.png" alt="Image description" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2f5bof84athn1y46hb8o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2f5bof84athn1y46hb8o.png" alt="Image description" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Repo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/BonfaceNjuguna/natures-cycle-simulation" rel="noopener noreferrer"&gt;https://github.com/BonfaceNjuguna/natures-cycle-simulation&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Copilot Experience
&lt;/h2&gt;

&lt;p&gt;Throughout the development process, I used GitHub Copilot quite a lot. Copilot assisted me with code autocompletion, generating functions, and providing suggestions for implementing various features. For example, Copilot helped me create the functions for updating the sun and moon positions, generating stars, and handling weather effects. It also provided suggestions for CSS styling and HTML structure.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitHub Models
&lt;/h2&gt;

&lt;p&gt;I used GitHub Models to prototype LLM capabilities in my app. The models helped me generate code snippets, complete functions, and provide suggestions for improving the overall structure of the project. This made the development process more efficient and allowed me to focus on the core functionality of the simulation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Using GitHub Copilot and GitHub Models significantly enhanced my development experience. The tools provided valuable assistance in generating code, making suggestions, and improving the overall quality of the project. This project demonstrates the potential impact of AI-powered tools in software development, making it easier to create complex simulations and interactive applications.&lt;/p&gt;

&lt;p&gt;Team Submissions: &lt;a class="mentioned-user" href="https://dev.to/bonfacenjuguna"&gt;@bonfacenjuguna&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpycmjr7k3fo1zzo10z3r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpycmjr7k3fo1zzo10z3r.png" alt="Image description" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>webdev</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
