Back to articles
Soft toy explosions

Soft toy explosions

via Dev.toTero Pulkkinen

This is a submission for the DEV April Fools Challenge What I Built 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. Demo https://meshpage.org/dingel2/display.php Code TF I1=ev.mainloop_api.gltf_loadKK2(dingel_- freebie 1 .glb); 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); BM I3=ev.bitmap_api.loadbitmapfromurl(ChatGPT_Image_16.3.2026_klo_05.01.23.png); ML I4=ev.sprite_api.vertex_array_render(ev,I3); MN I5=ev.move_api.mn_empty(); MN I6=ev.move_api.trans2(I5,-670,-500,0); ML I7=ev.move_api.move_ml(ev,I4,I6,1,10.0); ML I8=ev.mainloop_api.or_elem_ml(ev,I2,I7); ML I9=ev.mainloop_api.mouse_roll_zoom2(ev,I8); ML I10=ev.mainloop_api.touch_rotate(ev,I9,true,true,0.01,0.01); ML I11=ev.mainloop_api.perspective(e

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles