Skip to content

IHeartFourier

Download Installer

This Fuse is based on the Shadertoy 'IHeartFourier' by harry7557558. CC BY-NC-SA 3.0. Conversion to DCTL and encapsulation into a fuse done by JiPi. See Misc for more fuses in this category.

IHeartFourier Thumbnail

An interesting Fourier series of 18 points results in a curved line. Here a hurdle had to be overcome in the parameter transfer of arrays. I initially had a solution, but it only worked for one graphics system at a time. Nmbr73 had the solution here, simple but perfect.

    float2 a[10], b[10];  // 10 = int(18 / 2) + 1

//  #if (defined(DEVICE_IS_OPENCL))
//      init(&a,&b,params);
//    #else
//      init(&a[10],&b[10],params);
//  #endif

  init(a,b,params);

IHeartFourier

Original:

IHEartFourier

Counterfeit:

IHEartFourierJiPi

Have fun playing