From 8fb7969314ff3e8df97b52962b24482263910e96 Mon Sep 17 00:00:00 2001 From: bi0qaw Date: Mon, 20 Nov 2017 23:13:33 +0100 Subject: [PATCH] Updated Shapes (markdown) --- Shapes.md | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 98 insertions(+), 1 deletion(-) diff --git a/Shapes.md b/Shapes.md index 89ba801..90eb3ed 100644 --- a/Shapes.md +++ b/Shapes.md @@ -1 +1,98 @@ -![](https://imgur.com/a/wYHhA) \ No newline at end of file +## List of Shapes +* [Circle](Circle) +* [Cube](Cube) +* [Cube Outline](CubeOutline) +* [Helix](HelixOutline) +* [Line](Line) +* [Polygon](Polygon) +* [Polygon Outline](PolygonOutline) +* [RandomSphere](RandomSphere) +* [Sphere](Sphere) + +*** + +All 2D shapes (Circle, Line, Polygon and Polygon Outline) are drawn in the horizontal plane (XZ plane). 3D shapes (Cube, Cube Outline, Helix, Random Sphere and Sphere) have also a y-axis component. The orientation of the axes is always indicated in the bottom left corner of the image. The purple particles show the center of the shape. This is the reference location in the location syntax and the vector 0, 0, 0 for the vector syntax. + +*** + +## Circle +![](https://i.imgur.com/j51ka40.png) +### Vector Syntax +`circle with radius %number% and density %number%` +### Location Syntax +`circle at %location% with radius %number% and density %number%` + +*** + +## Cube +![](https://i.imgur.com/b8lKhSQ.png) +### Vector Syntax +`cube with radius %number%` +### Location Syntax +`cube at %location% with radius %number%` + +*** + +## Cube Outline +![](https://i.imgur.com/pt8KX2O.png) +### Vector Syntax +`cube outline with radius %number% and density %number%` +### Location Syntax +`cube outline at %location% with radius %number% and density %number%` + +*** + +## Helix +![](https://i.imgur.com/OoLM13C.png) +### Vector Syntax +`helix with radius %number%, height %number%, step %number% and density %number%` +### Location Syntax +`helix at %location% with radius %number%, height %number%, step %number% and density %number%` + +*** + +## Line +![](https://i.imgur.com/VOmDpUg.png) +### Vector Syntax +``` +line with length %number% and density %number% +vector line from %vector% to %vector% with density %number% +``` +### Location Syntax +`line from %location% to %location% with density %number%` + +*** + +## Polygon +![](https://i.imgur.com/Qit4MDg.png) +### Vector Syntax +`polygon with %number% points and radius %number%` +### Location Syntax +`polygon at %location% with %number% points and radius %number%` + +*** + +## Polygon Outline +![](https://i.imgur.com/BSVMrQN.png) +### Vector Syntax +`polygon outline with %number% points, radius %number% and density %number%` +### Location Syntax +`polygon outline at %location% with %number% points, radius %number% and density %number%` + +*** + +## Random Sphere +![](https://i.imgur.com/mf5A1ji.png) +### Vector Syntax +`random sphere with radius %number% and density %number%` +### Location Syntax +`random sphere at %location% with radius %number% and density %number%` + +*** + +## Sphere +![](https://i.imgur.com/trB8zrH.png) +### Vector Syntax +`sphere with radius %number% and density %number%` +### Location Syntax +`sphere at %location% with radius %number% and density %number%`