siteIcon

Tech Novice Tools

JSGS: Processing

burgerIcon
spiral

JSGrafix Sandbox (JSGS)

TNT Anim-Heart

About this app

The TNTHeart Library entry has 5 parameters that influence its shape. This app lets us explore the changes as those parameters are changed.

x = a*sin3(t)
y = b*cos(t) + c*cos(2t) + d*cos(3t) + e*cos(4t)
                        
Suggested Coefficients for a 'Good Heart':

a: 16
b: 13
c: -5
d: -2
e: -1
                        

The sliders in the control console allow you to see the effect of variables a-e on the shape of the heart. The 'hue' slider lets you choose the heart's fill color.

Last update: 02/09/20


Controls:

Shape Controls:

a:

b:

c:

d:

e:

Fill Hue: