Skip to content

Leonxlnx/taste-skill / skills/taste-skill

design-taste-frontend

Verified

tasteskill 2.5.1, the anti-slop frontend skill. Builds professional company websites at the level of figma.com and x.ai: plain copy in a voice of its own, one system, one section per screen, equal edges, real photographs and real product UI (licensed stand-in photographs when the client has none; a product render only when the brief asks for 3D), a hero entrance and one or two dealt moments on every page, shader effects and scenes only on tech, gaming and software pages, quiet micro-interactions, and a checker and finish gate that enforce it in a real browser. Use this whenever you build, design, redesign, restyle, polish or review a landing page, company, product, shop, cafe, hotel, studio, SaaS, AI, developer-tool or game site, as static HTML/CSS or inside an existing React, Next.js, Vue, Svelte, Astro or Tailwind project, or when the user says a page looks generic, templated or "AI-made".

FileKindSize
SKILL.mdskill md30.2 KB
assets/backgrounds/backgrounds.cssother41.5 KB
assets/backgrounds/backgrounds.jsscript8.9 KB
assets/backgrounds/check.htmlother4.8 KB
assets/backgrounds/check.mjsscript14.2 KB
assets/backgrounds/demo.htmlother43.3 KB
assets/backgrounds/index.jsonconfig19.6 KB
assets/backgrounds/pick.mjsscript14.0 KB
assets/components/_lab.htmlother6.4 KB
assets/components/base.cssother7.6 KB
assets/components/fx-avatar/component.cssother3.3 KB
assets/components/fx-avatar/component.htmlother1.2 KB
assets/components/fx-avatar/component.jsscript2.7 KB
assets/components/fx-avatar/meta.jsonconfig870 B
assets/components/fx-band/component.cssother1.4 KB
assets/components/fx-band/component.htmlother482 B
assets/components/fx-band/component.jsscript2.7 KB
assets/components/fx-band/meta.jsonconfig1.1 KB
assets/components/fx-bars/component.cssother3.4 KB
assets/components/fx-bars/component.htmlother2.3 KB
assets/components/fx-bars/component.jsscript2.2 KB
assets/components/fx-bars/meta.jsonconfig1.2 KB
assets/components/fx-button/component.cssother1.6 KB
assets/components/fx-button/component.htmlother798 B
assets/components/fx-button/component.jsscript3.0 KB
assets/components/fx-button/meta.jsonconfig1.1 KB
assets/components/fx-chart/component.cssother3.4 KB
assets/components/fx-chart/component.htmlother1.2 KB
assets/components/fx-chart/component.jsscript5.3 KB
assets/components/fx-chart/meta.jsonconfig1.3 KB
assets/components/fx-dither-object/component.cssother452 B
assets/components/fx-dither-object/component.htmlother177 B
assets/components/fx-dither-object/component.jsscript24.1 KB
assets/components/fx-dither-object/meta.jsonconfig2.7 KB
assets/components/fx-feature-card/component.cssother10.7 KB
assets/components/fx-feature-card/component.htmlother8.9 KB
assets/components/fx-feature-card/component.jsscript12.1 KB
assets/components/fx-feature-card/meta.jsonconfig3.0 KB
assets/components/fx-globe/component.cssother2.2 KB
assets/components/fx-globe/component.htmlother1.6 KB
assets/components/fx-globe/component.jsscript1.3 KB
assets/components/fx-globe/meta.jsonconfig819 B
assets/components/fx-headline/component.cssother1.6 KB
assets/components/fx-headline/component.htmlother833 B
assets/components/fx-headline/component.jsscript742 B
assets/components/fx-headline/meta.jsonconfig964 B
assets/components/fx-icon-tiles/component.cssother1.7 KB
assets/components/fx-icon-tiles/component.htmlother2.1 KB
assets/components/fx-icon-tiles/component.jsscript1.4 KB
assets/components/fx-icon-tiles/meta.jsonconfig922 B
assets/components/fx-logos/component.cssother2.0 KB
assets/components/fx-logos/component.htmlother12.4 KB
assets/components/fx-logos/component.jsscript1.2 KB
assets/components/fx-logos/meta.jsonconfig1.0 KB
assets/components/fx-map/bake.mjsscript25.2 KB
assets/components/fx-map/component.cssother10.6 KB
assets/components/fx-map/component.htmlother1.2 KB
assets/components/fx-map/component.jsscript14.4 KB
assets/components/fx-map/meta.jsonconfig2.6 KB
assets/components/fx-map/sample-map.jsonconfig55.7 KB
assets/components/fx-photo/component.cssother2.0 KB
assets/components/fx-photo/component.htmlother553 B
assets/components/fx-photo/component.jsscript1.9 KB
assets/components/fx-photo/meeting-room.jpgbinary198.7 KB
assets/components/fx-photo/meta.jsonconfig1.8 KB
assets/components/fx-pricing/component.cssother3.8 KB
assets/components/fx-pricing/component.htmlother1.8 KB
assets/components/fx-pricing/component.jsscript1.5 KB
assets/components/fx-pricing/meta.jsonconfig971 B
assets/components/fx-progress/component.cssother2.9 KB
assets/components/fx-progress/component.htmlother2.0 KB
assets/components/fx-progress/component.jsscript4.3 KB
assets/components/fx-progress/meta.jsonconfig1.3 KB
assets/components/fx-prompt/component.cssother3.1 KB
assets/components/fx-prompt/component.htmlother1.3 KB
assets/components/fx-prompt/component.jsscript1.1 KB
assets/components/fx-prompt/meta.jsonconfig782 B
assets/components/fx-search/component.cssother2.6 KB
assets/components/fx-search/component.htmlother1.4 KB
assets/components/fx-search/component.jsscript4.9 KB
assets/components/fx-search/meta.jsonconfig953 B
assets/components/fx-spotlight/component.cssother1.8 KB
assets/components/fx-spotlight/component.htmlother1.6 KB
assets/components/fx-spotlight/component.jsscript4.0 KB
assets/components/fx-spotlight/meta.jsonconfig1.1 KB
assets/components/fx-stat/component.cssother1.6 KB
assets/components/fx-stat/component.htmlother694 B
assets/components/fx-stat/component.jsscript1.2 KB
assets/components/fx-stat/meta.jsonconfig1.1 KB
assets/components/fx-tabs/component.cssother5.0 KB
assets/components/fx-tabs/component.htmlother2.9 KB
assets/components/fx-tabs/component.jsscript3.1 KB
assets/components/fx-tabs/meta.jsonconfig1.2 KB
assets/components/index.htmlother18.6 KB
assets/components/shared.jsscript25.9 KB
assets/diagrams/demo.htmlother11.4 KB
assets/diagrams/diagram.cssother25.5 KB
assets/diagrams/diagram.jsscript89.2 KB
assets/diagrams/lab.htmlother11.2 KB
assets/diagrams/mount.jsscript609 B
assets/diagrams/presets.jsonconfig27.8 KB
assets/effects/README.mdmarkdown9.8 KB
assets/effects/ascii-shade/effect.jsscript18.3 KB
assets/effects/ascii-shade/meta.jsonconfig372 B
assets/effects/aurora-curtains/effect.jsscript9.2 KB
assets/effects/aurora-curtains/meta.jsonconfig361 B
assets/effects/bayer-dither/effect.jsscript5.9 KB
assets/effects/bayer-dither/meta.jsonconfig311 B
assets/effects/caustics/effect.jsscript7.3 KB
assets/effects/caustics/meta.jsonconfig357 B
assets/effects/contour-lines/effect.jsscript8.2 KB
assets/effects/contour-lines/meta.jsonconfig358 B
assets/effects/dot-terrain/effect.jsscript9.2 KB
assets/effects/dot-terrain/meta.jsonconfig332 B
assets/effects/dotted-globe/effect.jsscript52.9 KB
assets/effects/dotted-globe/meta.jsonconfig546 B
assets/effects/duotone-grade/effect.jsscript33.7 KB
assets/effects/duotone-grade/meta.jsonconfig395 B
assets/effects/edge-glow/effect.jsscript10.6 KB
assets/effects/edge-glow/meta.jsonconfig427 B
assets/effects/film-light-leak/effect.jsscript12.2 KB
assets/effects/film-light-leak/meta.jsonconfig343 B
assets/effects/fluted-glass/effect.jsscript9.7 KB
assets/effects/fluted-glass/meta.jsonconfig305 B
assets/effects/fx.jsscript40.5 KB
assets/effects/gallery.htmlother37.4 KB
assets/effects/god-rays/effect.jsscript9.1 KB
assets/effects/god-rays/meta.jsonconfig318 B
assets/effects/gradient-mesh/effect.jsscript11.0 KB
assets/effects/gradient-mesh/meta.jsonconfig334 B
assets/effects/grain-gradient/effect.jsscript8.1 KB
assets/effects/grain-gradient/meta.jsonconfig311 B
assets/effects/grid-pulse/effect.jsscript18.6 KB
assets/effects/grid-pulse/meta.jsonconfig343 B
assets/effects/halftone-screen/effect.jsscript12.8 KB
assets/effects/halftone-screen/meta.jsonconfig342 B
assets/effects/index.jsonconfig36.7 KB
assets/effects/lab.htmlother31.0 KB
assets/effects/line-engraving/effect.jsscript12.4 KB
assets/effects/line-engraving/meta.jsonconfig343 B
assets/effects/orb-sphere/effect.jsscript14.2 KB
assets/effects/orb-sphere/meta.jsonconfig366 B
assets/effects/painterly-landscape/effect.jsscript12.8 KB
assets/effects/painterly-landscape/meta.jsonconfig364 B
assets/effects/pick.jsscript10.1 KB
assets/effects/prism-dispersion/effect.jsscript9.6 KB
assets/effects/prism-dispersion/meta.jsonconfig331 B
assets/effects/ridgeline/effect.jsscript19.2 KB
assets/effects/ridgeline/meta.jsonconfig460 B
assets/effects/ruled-grounds/effect.jsscript11.3 KB
assets/effects/ruled-grounds/meta.jsonconfig357 B
assets/effects/silk-folds/effect.jsscript10.4 KB
assets/effects/silk-folds/meta.jsonconfig348 B
assets/effects/soft-light-bars/effect.jsscript21.1 KB
assets/effects/soft-light-bars/meta.jsonconfig391 B
assets/effects/spotlight-cone/effect.jsscript7.3 KB
assets/effects/spotlight-cone/meta.jsonconfig349 B
assets/icons/demo.htmlother475.1 KB
assets/icons/demo/adyen.svgother2.4 KB
assets/icons/demo/after-effects.svgother5.2 KB
assets/icons/demo/ai.svgother795 B
assets/icons/demo/airbnb.svgother5.2 KB
assets/icons/demo/airbyte.svgother3.0 KB
assets/icons/demo/airflow.svgother3.4 KB
assets/icons/demo/airtable.svgother1.8 KB
assets/icons/demo/akamai.svgother5.5 KB
assets/icons/demo/algolia.svgother11.5 KB
assets/icons/demo/alpinejs.svgother343 B
assets/icons/demo/amd.svgother1.5 KB
assets/icons/demo/amex.svgother8.4 KB
assets/icons/demo/amplitude.svgother3.3 KB
assets/icons/demo/android.svgother4.7 KB
assets/icons/demo/angular.svgother1.8 KB
assets/icons/demo/ansible.svgother5.4 KB
assets/icons/demo/anthropic.svgother1.2 KB
assets/icons/demo/app-store.svgother2.9 KB
assets/icons/demo/apple-pay.svgother3.1 KB
assets/icons/demo/apple.svgother1.2 KB
assets/icons/demo/arc.svgother4.6 KB
assets/icons/demo/archlinux.svgother1.0 KB
assets/icons/demo/arduino.svgother6.7 KB
assets/icons/demo/argo.svgother22.7 KB
assets/icons/demo/arm.svgother2.5 KB
assets/icons/demo/asana.svgother1004 B
assets/icons/demo/astro.svgother3.1 KB
assets/icons/demo/audio.svgother516 B
assets/icons/demo/auth0.svgother759 B
assets/icons/demo/aws.svgother7.9 KB
assets/icons/demo/azure.svgother3.2 KB
assets/icons/demo/babel.svgother68.6 KB
assets/icons/demo/basecamp.svgother3.4 KB
assets/icons/demo/baseten.svgother1.3 KB
assets/icons/demo/bash.svgother4.2 KB
assets/icons/demo/battle-net.svgother1.1 KB
assets/icons/demo/behance.svgother12.4 KB
assets/icons/demo/bitbucket.svgother1.5 KB
assets/icons/demo/bitcoin.svgother2.3 KB
assets/icons/demo/blender.svgother3.7 KB
assets/icons/demo/bluesky.svgother1.0 KB
assets/icons/demo/bootstrap.svgother2.0 KB

assets/effects/gradient-mesh/effect.js

View on GitHub
// gradient-mesh: a gradient mesh. Twelve colour points (a 4 x 3 grid, jittered and turned) in six
// tones of the page palette blend with Gaussian weights in OKLab into separate colour islands; a slow
// warp folds the plane and the fold is lit, so the folds read. With `lines` set, the warped grid that
// shapes it is drawn over it in thin lines with small points at the joins, like a mesh in a design
// tool, bunching where the surface folds. By default there is no grid.
import { shader, color } from '../fx.js';

const params = {
  speed:    { default: 0.06, min: 0,   max: 0.4, step: 0.01 }, // drift; 0.06 gives cycles of about 30 s
  lines:    { default: 0,    min: 0,   max: 16,  step: 1 },    // grid lines across the height; 0 (the default) for none, 6 to 10 for a design-tool mesh
  warp:     { default: 0.65, min: 0,   max: 1,   step: 0.01 }, // how deeply the plane folds
  relief:   { default: 0.5,  min: 0,   max: 1,   step: 0.01 }, // light and shade on the folds
  softness: { default: 0.55, min: 0,   max: 1,   step: 0.01 }, // 0 distinct islands .. 1 long blends
  joins:    { default: 1,    min: 0,   max: 1,   step: 1 },    // small points where the grid lines meet
  angle:    { default: -12,  min: -90, max: 90,  step: 1 },    // turns the mesh, degrees
  tint:     { default: 0.6,  min: 0,   max: 1,   step: 0.01 }, // how strong the accent islands are
  calm:     { default: 0.4,  min: 0,   max: 1,   step: 0.01 }, // quieter area of the ground where text sits
  calmX:    { default: 0.25, min: 0,   max: 1,   step: 0.01 },
  calmY:    { default: 0.7,  min: 0,   max: 1,   step: 0.01 },
};

const N = 12;
const ADD = Array.from({ length: N }, (_, i) => `  MESH_ADD(u_q${i}, u_k${i}, ${i}.0)`).join('\n');

const frag = /* glsl */ `
// the warp in two octaves; its slopes are taken from the broad octave only (half the cost)
vec2 warpLo(vec2 q, float t) {
  return vec2(fx_noise(q * 0.85 + vec2(0.0, t * 0.13)), fx_noise(q * 0.85 + vec2(5.2, 1.3) - vec2(t * 0.11, 0.0)));
}
vec2 warpHi(vec2 q, float t) {
  return 0.45 * vec2(fx_noise(q * 1.9 + vec2(3.7, -t * 0.17)), fx_noise(q * 1.9 + vec2(-2.1 + t * 0.15, 6.4)));
}
#define MESH_ADD(Q, K, I) { vec2 c_ = Q.xy + Q.w * vec2(sin(t * (0.83 + 0.07 * I) + Q.z), sin(t * (0.61 + 0.09 * I) + Q.z * 1.7 + 1.3)); vec2 e_ = pw - c_; float w_ = exp(-dot(e_, e_) * is2); acc += w_ * K; ws += w_; }

void main() {
  vec2 uv = fx_uv();
  vec2 p = fx_p();
  float t = u_time * u_speed * 3.4 + u_seed * 0.0731;
  vec2 so = vec2(u_seed * 0.0131, u_seed * 0.0217);
  float px = 1.0 / u_res.y;                      // one canvas pixel in height units

  // the fold: a slow warp of the plane, and its slopes (for the light and for even line widths)
  float e = 0.02;
  float k = u_warp * 0.42;
  vec2 wl = warpLo(p + so, t);
  vec2 w = wl + warpHi(p + so, t);
  vec2 wx = (warpLo(p + so + vec2(e, 0.0), t) - wl) / e;
  vec2 wy = (warpLo(p + so + vec2(0.0, e), t) - wl) / e;
  vec2 pw = p + w * k;

  // Gaussian weights: smooth islands, no plateaus or seams
  float sg = u_sigma * (0.6 + 0.8 * u_softness);
  float is2 = 1.0 / (2.0 * sg * sg);
  vec3 acc = vec3(0.0);
  float ws = 1e-6;
${ADD}
  vec3 col = acc / ws;

  // light on the folds: the warp's slope along a light direction
  float slope = dot(wx * 0.6 + wy * 0.8, vec2(-0.8, 0.6));
  float rl = clamp(slope * u_relief * 1.4, -1.0, 1.0);
  col = mix(col, u_hi, max(rl, 0.0) * 0.4);
  col = mix(col, u_lo, max(-rl, 0.0) * 0.3);

  // the calm area for text: toward the ground colour, keeping a trace of the mesh
  // (wide, since text runs sideways)
  vec2 cd = (uv - vec2(u_calmX, u_calmY)) * vec2(u_res.x / u_res.y * 0.55, 1.0);
  float cr = 0.24 + 0.36 * u_calm;
  float m = (1.0 - smoothstep(cr * 0.4, cr, length(cd))) * min(1.0, u_calm * 2.2);
  col = mix(col, u_ground, m * 0.9);

  // the mesh: lines of the warped, turned grid, a constant width in pixels wherever the grid stretches
  if (u_lines > 0.5) {
    vec2 g = vec2(dot(pw, u_rot), dot(pw, vec2(-u_rot.y, u_rot.x))) * u_lines + so * 3.0;
    // gradients of the two grid coordinates (per height unit)
    mat2 J = mat2(1.0 + k * wx.x, k * wx.y, k * wy.x, 1.0 + k * wy.y);   // columns: d(pw)/dx, d(pw)/dy
    vec2 gu = vec2(dot(J[0], u_rot), dot(J[1], u_rot)) * u_lines;
    vec2 gv = vec2(dot(J[0], vec2(-u_rot.y, u_rot.x)), dot(J[1], vec2(-u_rot.y, u_rot.x))) * u_lines;
    vec2 f = abs(fract(g + 0.5) - 0.5);
    vec2 dpx = f / vec2(length(gu), length(gv)) / px;               // distance to the nearest line, px
    float lw = 0.55 * u_dpr;
    float line = max(1.0 - smoothstep(lw - 0.5, lw + 0.7, dpx.x), 1.0 - smoothstep(lw - 0.5, lw + 0.7, dpx.y));
    float rj = 1.9 * u_dpr;
    float join = u_joins * (1.0 - smoothstep(rj - 0.7, rj + 0.7, length(dpx)));
    float show = 1.0 - m;
    col = mix(col, u_line, line * u_lineA * show);
    col = mix(col, u_line, join * min(1.0, u_lineA * 3.2) * show);
  }
  fxColor = vec4(fx_dither(fx_rgb(col)), 1.0);
}
`;

const L = c => color.lab(c)[0];
const at = (c, l) => color.withLightness(c, Math.min(0.98, Math.max(0.04, l)));
const sat = (c, k) => color.saturate(c, k);

// the tones of the mesh: [ground, highlight, accent, accent light, deep, middle], the fold light and
// shade, and the line colour. Every one a mix, tint or shade of the page colours; an accent far in hue
// from a coloured ground is kept out of the blends (they would pass through grey).
function tones(P, prm, kind) {
  const { bg, surface, ink, muted, accent } = P;
  const tn = prm.tint;
  const Lb = L(bg);
  const neutral = color.chroma(bg) < 0.035;
  const far = !neutral && color.chroma(accent) > 0.035 && color.hueDistance(bg, accent) > 55;
  if (kind === 'dark') {
    const acc = far ? at(sat(bg, 1.8), 0.6) : accent;
    const La = Math.max(0.55, L(acc));
    const k = [
      color.mix(bg, surface, 0.4),                                   // ground
      sat(color.mix(acc, ink, 0.55), 0.8),                           // ice, the highlight
      sat(at(acc, La - 0.04 * (1 - tn)), 1.05),                      // accent
      sat(at(color.mix(acc, muted, 0.3), Lb + 0.3), 0.9),            // slate accent
      sat(at(acc, Lb + 0.07), 1.2),                                  // deep accent
      sat(at(color.mix(bg, acc, 0.5), Lb + 0.18), 1.0),              // middle
    ];
    return { k, hi: color.mix(acc, ink, 0.75), lo: at(bg, Math.max(0.02, Lb - 0.03)), ground: k[0], line: color.mix(ink, acc, 0.25), lineA: 0.2 };
  }
  if (kind === 'colour') {
    const light = L(ink) > Lb ? ink : sat(color.lighten(bg, Math.min(0.2, 0.98 - Lb)), 0.5);
    const acc = far ? color.mix(bg, light, 0.3) : accent;
    const k = [
      bg,                                                            // ground
      color.mix(bg, light, 0.72),                                    // pale highlight
      sat(color.mix(bg, acc, 0.45 + 0.35 * tn), 1.05),               // accent or a light step
      sat(color.lighten(bg, 0.07), 1.1),                             // bright ground
      sat(color.lighten(bg, -0.16), 1.0),                            // deep
      color.mix(bg, light, 0.35),                                    // middle
    ];
    return { k, hi: color.mix(bg, light, 0.85), lo: color.lighten(bg, -0.22), ground: bg, line: light, lineA: 0.24 };
  }
  const acc = far ? at(sat(bg, 1.4), Lb - 0.25) : accent;
  const La = Math.min(Lb - 0.25, Math.max(0.42, L(acc)));
  const k = [
    sat(color.lighten(bg, 0.02), 1.05),                              // ground
    sat(at(bg, Math.min(0.985, Lb + 0.085)), 0.6),                   // highlight, near white
    sat(at(acc, La + 0.05 * (1 - tn)), 1.05),                        // accent
    sat(color.mix(bg, acc, 0.42), 1.25),                             // accent light
    sat(at(acc, La - 0.12), 1.0),                                    // deep accent (a shade, not ink: no mud)
    sat(color.lighten(bg, -0.075), 1.7),                             // a deeper step of the ground
  ];
  return { k, hi: at(bg, Math.min(0.99, Lb + 0.1)), lo: sat(at(acc, La - 0.16), 0.9), ground: k[0], line: color.mix(ink, acc, 0.3), lineA: 0.16 };
}

// the tone of each grid point: the ground near the calm area, then the others dealt so that no two
// neighbours share a tone
const DEAL = [1, 2, 5, 3, 4, 2, 1, 5, 3, 2, 4, 1];
function uniforms({ palette, params, rng, kind, width, height }) {
  const r = rng;
  const T = tones(palette, params, kind);
  const asp = width && height ? width / height : 4 / 3;
  const a = (params.angle * Math.PI) / 180;
  const C = 4, R = 3, sx = (asp * 1.2) / C, sy = 1.2 / R;
  const pts = [];
  for (let j = 0; j < R; j++) for (let i = 0; i < C; i++) {
    let x = ((i + 0.5) / C - 0.5) * asp * 1.2 + (r() - 0.5) * sx * 0.5;
    let y = ((j + 0.5) / R - 0.5) * 1.2 + (r() - 0.5) * sy * 0.5;
    [x, y] = [x * Math.cos(a) - y * Math.sin(a), x * Math.sin(a) + y * Math.cos(a)];
    pts.push([x, y]);
  }
  const calm = [(params.calmX - 0.5) * asp, 0.5 - params.calmY];
  const dist = s => Math.hypot(s[0] - calm[0], s[1] - calm[1]);
  const off = Math.floor(r() * DEAL.length);
  const tone = pts.map((s, n) => DEAL[(n + off) % DEAL.length]);
  // the point nearest the calm area holds the ground, and so does a close neighbour of it
  const near = pts.map((s, n) => n).sort((m, n) => dist(pts[m]) - dist(pts[n]));
  tone[near[0]] = 0;
  if (dist(pts[near[1]]) < 0.35) tone[near[1]] = 0;
  // the grid is turned a little off the mesh angle, so its lines never run square to the frame
  const ga = a * 0.5 + (r() - 0.5) * 0.3;
  const u = {
    u_sigma: Math.min(sx, sy) * 0.4,
    u_rot: [Math.cos(ga), Math.sin(ga)],
    u_hi: color.labVec(T.hi), u_lo: color.labVec(T.lo), u_ground: color.labVec(T.ground),
    u_line: color.labVec(T.line), u_lineA: T.lineA,
  };
  pts.forEach((s, n) => {
    u['u_q' + n] = [s[0], s[1], r() * 6.283, 0.05 + 0.05 * r()];
    u['u_k' + n] = color.labVec(T.k[tone[n]]);
  });
  return u;
}

export default {
  id: 'gradient-mesh',
  name: 'Gradient mesh',
  family: 'mesh',
  params,
  mount(el, { palette, params: given, seed }) {
    return shader(el, {
      frag,
      schema: params,
      params: given,
      palette,
      seed,
      uniforms,
      maxDpr: 1.25,
      still: 6,
      fallback: ({ palette: P, params: prm, kind }) => {
        const T = tones(P, prm, kind);
        const k = T.k;
        const cx = Math.round(prm.calmX * 100), cy = Math.round(prm.calmY * 100);
        const ln = color.mix(k[0], T.line, T.lineA);
        const cell = prm.lines > 0 ? Math.round(400 / prm.lines) : 0;
        const grid = cell ? `repeating-linear-gradient(0deg, ${ln} 0 1px, transparent 1px ${cell}px), repeating-linear-gradient(90deg, ${ln} 0 1px, transparent 1px ${cell}px), ` : '';
        // a still patchwork of the mesh tones under a straight grid, the ground where the calm area is
        return `${grid}radial-gradient(38% 50% at ${cx}% ${cy}%, ${k[0]}, transparent 75%), radial-gradient(40% 55% at ${100 - cx}% ${100 - cy}%, ${k[2]}, transparent 72%), radial-gradient(36% 48% at ${(cx + 50) % 100}% ${cy}%, ${k[1]}, transparent 72%), radial-gradient(42% 50% at ${100 - cx}% ${cy}%, ${k[4]}, transparent 72%), radial-gradient(40% 52% at ${cx}% ${100 - cy}%, ${k[3]}, transparent 72%), ${k[5]}`;
      },
    });
  },
};
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall