<?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>DEV Community: Tero Pulkkinen</title>
    <description>The latest articles on DEV Community by Tero Pulkkinen (@tero_pulkkinen_4cf8de15a7).</description>
    <link>https://dev.to/tero_pulkkinen_4cf8de15a7</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%2F3866494%2F8d95ca4b-c7c2-4ff3-a3e6-b52d38567b16.png</url>
      <title>DEV Community: Tero Pulkkinen</title>
      <link>https://dev.to/tero_pulkkinen_4cf8de15a7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tero_pulkkinen_4cf8de15a7"/>
    <language>en</language>
    <item>
      <title>Soft toy explosions</title>
      <dc:creator>Tero Pulkkinen</dc:creator>
      <pubDate>Tue, 07 Apr 2026 20:11:11 +0000</pubDate>
      <link>https://dev.to/tero_pulkkinen_4cf8de15a7/soft-toy-explosions-2im9</link>
      <guid>https://dev.to/tero_pulkkinen_4cf8de15a7/soft-toy-explosions-2im9</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/aprilfools-2026"&gt;DEV April Fools Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;Star wars death star laser, tweaked with slightly less powerful settings, is now able to explode soft toys from children's hands. Dingel explosion shows how 12 lines of code can blow up a soft toy. The library has 222kloc of source code, just imagine how large explosion is possible.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://meshpage.org/dingel2/display.php" rel="noopener noreferrer"&gt;https://meshpage.org/dingel2/display.php&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;TF I1=ev.mainloop_api.gltf_loadKK2(dingel_-&lt;em&gt;freebie&lt;/em&gt;&lt;em&gt;1&lt;/em&gt;.glb);&lt;br&gt;
ML I2=ev.mainloop_api.gltf_mesh_all(ev,I1,1.0,1.0,1.0,0,400.0,-400.0,300.0,0.0,ff000000,true,true);&lt;br&gt;
BM I3=ev.bitmap_api.loadbitmapfromurl(ChatGPT_Image_16.3.2026_klo_05.01.23.png);&lt;br&gt;
ML I4=ev.sprite_api.vertex_array_render(ev,I3);&lt;br&gt;
MN I5=ev.move_api.mn_empty();&lt;br&gt;
MN I6=ev.move_api.trans2(I5,-670,-500,0);&lt;br&gt;
ML I7=ev.move_api.move_ml(ev,I4,I6,1,10.0);&lt;br&gt;
ML I8=ev.mainloop_api.or_elem_ml(ev,I2,I7);&lt;br&gt;
ML I9=ev.mainloop_api.mouse_roll_zoom2(ev,I8);&lt;br&gt;
ML I10=ev.mainloop_api.touch_rotate(ev,I9,true,true,0.01,0.01);&lt;br&gt;
ML I11=ev.mainloop_api.perspective(ev,I10,80.0,10.1,60000.0);&lt;br&gt;
RUN I12=ev.blocker_api.game_window2(ev,I11,false,false,0.0,100000.0);&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;1) gameapi-builder (my own tool)&lt;br&gt;
2) gameapi library (my own library)&lt;br&gt;
3) emscripten (ability to put my c++ code to a web page)&lt;br&gt;
4) sketchfab (find cool 3d models from the internet)&lt;br&gt;
6) tinygltf (load a gltf file in standard formats to data structure)&lt;br&gt;
7) &lt;a href="https://meshpage.org" rel="noopener noreferrer"&gt;https://meshpage.org&lt;/a&gt;&lt;br&gt;
8) &lt;a href="https://meshpage.org/meshpage.php" rel="noopener noreferrer"&gt;https://meshpage.org/meshpage.php&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Category
&lt;/h2&gt;

&lt;p&gt;Best star wars meme, Best use of explosions, Best use of URLs, Best use of dingel 3d model, Best use of custom 3d engine&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>418challenge</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
