Untitled attachment
https://cdn.masto.host/mastodongamedevplace/media_attachments/files/111/324/272/051/788/353/original/d8dea20f6a95a115.png
vec3 col(in float x, in float y)
{
vec2 z = vec2(x,y);
int i = 0;
int n = 64;
for (i=0 ; i<n ; ++i)
{
vec2 z5 = cmul(z,cmul(z,cmul(z,cmul(z,cmul(z,z)))));
vec2 a = (z5-vec2(pow(0.3976,2.0), 0.0));
vec2 b = (z5+vec2(pow(0.7638,2.0), 0.0));
vec2 c = (z5+vec2(pow(0.6625,2.0), 0.0));
z = 0.72*cdiv(a,cdiv(b,cdiv(c,z)));
if (length(z) > 100.0) break;
}
float t = fract(float(i) / float(n)*16.0);
return hsv2rgb(vec3(0.1, 0.9, t));
}
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.