Skip to content

threejs 3D Rendering of (planar) Polygons #70

@rocky

Description

@rocky
Graphics3D[
  Polygon[{
	{0, 0, Sqrt[3]},
	{0, 2 Sqrt[2/3], 1 / Sqrt[3]},
	{Sqrt[2], Sqrt[2/3], -1 / Sqrt[3]},
	{Sqrt[2], -Sqrt[2/3], 1 /  Sqrt[3]},
	{0, -2 Sqrt[2/3], -1 / Sqrt[3]},
	{-Sqrt[2], -Sqrt[2/3], 1/Sqrt[3]},
	{-Sqrt[2], Sqrt[2/3], -1/Sqrt[3]}
    }]]

should be a hexagon and slanted.

Graphics3D[Polygon[{{150,0, 0},{121,90, 0},{198,35, 0},{102,35, 0},{179,90, 0}}]]

should be a 5-pointed start with a hole for interior pentagon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions