Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

orientation

Public visualization

orientation

0 stars1🌍 Public
Zzoniyac
Last edited May 7, 2020
Created on May 6, 2020
Forked from orientation

This example shows a large, dark square filled with two distinct path-based patterns created using the textures library. Each pattern is generated by a different custom path function and applied to the square as a fill. The code uses `textures.paths()` to define the patterns and `svg.call()` to register them, then assigns the texture URLs to the rectangle via `.style("fill", t1.url())`. The rendering is done with D3 v5 and SVG, with the square drawn as a single `rect` element.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed