Cantor Set
✓ Published0🌍 Public
CCurran Kelleher
Last edited Sep 10, 2016
Created on Sep 10, 2016
This visualization shows the Cantor set as a series of horizontal rows, with each row representing one iteration of the fractal’s construction. Black rectangles mark the remaining segments after repeatedly removing the middle third of each interval, while empty spaces show the removed portions. The code computes the set using an L-system with rules A→ABA and B→BBB, starting from the initial state "A" over eight iterations. D3 v4 scales (`d3.scaleBand`) position the rectangles in an SVG, and the rendering filters for the "A" symbols to draw the visible bars.
AI-generated descriptionThe Cantor Set computed as an L-System and rendered using D3.
Built with blockbuilder.org
mit Licensed