Skip to content

Beakerboy/Threejs-Geometries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

210 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badge Coverage Status

Threejs Geometries.

A collection of custom Threejs Geometries. These geometries are used as part of the OSMBuilding project

Click each link for a demonstration.

  • HippedGeometry Apply the straight skeleton algorithm to a shape and raise the faces into a hipped roof.
  • PyramidGeometry Extrude an arbitrary shape to a point. Combining aspects of ExtrudeGeometry and ConeGeometry.
  • RampGeometry with depth Extrude an arbitrary shape to a slope given a depth and direction.
  • RampGeometry with pitch Extrude an arbitrary shape to a slope given a direction and pitch.
  • WedgeGeometry Take an arbitrary shape, "bend it" along a line, and stretch each slope to have the same maximum depth. Essentially, create a gabled roof from an overhead view of the outline, and the height of the roof.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors