Vertical Shapes

A vertical shape is a shape with layers stacked on top of each other, with a fixed layer height, for example a round tower where the radius corresponds to the datapoint.

Class Hierarchy

Inheritance diagram of tangible.shapes.vertical.CircleTower1D, tangible.shapes.vertical.SquareTower1D, tangible.shapes.vertical.RectangleTower2D, tangible.shapes.vertical.RhombusTower2D, tangible.shapes.vertical.QuadrilateralTower4D

Base Class

class tangible.shapes.vertical.VerticalShape(data, layer_height)[source]

Base class for vertical shapes like towers.

Parameters:
  • data (sequence type) – The data.
  • layer_height (int or float) – The height of each layer in the vertical shape.

Shape Classes

class tangible.shapes.vertical.CircleTower1D(data, *args, **kwargs)[source]

Round vertical tower. Datapoints are mapped to radius.

../_images/circle_tower_1d.png
class tangible.shapes.vertical.SquareTower1D(data, *args, **kwargs)[source]

Vertical tower made of squares. Datapoints are mapped to square side length.

../_images/square_tower_1d.png
class tangible.shapes.vertical.RectangleTower2D(data, *args, **kwargs)[source]

Vertical tower made of rectangles. Datapoints are mapped to width and height of rectangle.

../_images/rectangle_tower_2d.png
class tangible.shapes.vertical.RhombusTower2D(data, *args, **kwargs)[source]

Vertical tower made of rhombi. Datapoints are mapped to distance between opposing corners.

../_images/rhombus_tower_2d.png
class tangible.shapes.vertical.QuadrilateralTower4D(data, *args, **kwargs)[source]

Vertical tower made of quadrilaterals (polygons with 4 vertices). Datapoints are mapped to distance between center and the corners.

../_images/quadrilateral_tower_4d.png