Updated Shapes (markdown)

bi0qaw 2017-11-20 23:13:33 +01:00
parent 761a0343e9
commit 8fb7969314

@ -1 +1,98 @@
![](https://imgur.com/a/wYHhA)
## 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%`