DEV Community

Cover image for How to Emit Love!
Dr Abstract
Dr Abstract

Posted on

How to Emit Love!

Here we use a ZIM particle emitter on the Canvas - check it out on CodePen at https://codepen.io/zimjs/pen/XWKgLzQ.

new Emitter({
     obj:new Label({
         text:"LOVE", 
         font:"Reuben", 
         outlineColor:dark, 
         outlineWidth:2, 
         color:[red,red.darken(.2),red.darken(.4)]
     }),
     animation:{props:{scale:10}, time:6},       
     interval:.1,
     gravity:0,
     fade:false,
     shrink:false,
     force:2,
     life:6,
     layers:BOTTOM
}).center();
Enter fullscreen mode Exit fullscreen mode

If you have not checked out the Canvas recently - you simply must! Here is the ZIM Dev Site and some In-depth Guides by Dr Abstract including Your Guide to Coding Creativity on the Canvas.

Top comments (0)