dcreith / drawerfront

Drawer Front Calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drawerfront

Drawer Front Calculator

Calculates and draws drawer front heights based on basic inputs and several equations. Useful for comparing layouts to find the most pleasing sizing. Web app can be viewed at https://dcreith.github.io/drawerfront/.

Values output assume inches and show to the nearest 1/16th. If you want to calculate in metric then use the decimal output and ignore the values in parenthesis.

Calculations

Hambridge

The bottom drawer has a height of [(square root of 2) – 1] times the drawer width. The second drawer from the bottom has a height of [(square root of 3) – (square root of 2)] times drawer width. The nth drawer has a height of [(square root of n+1) – (square root of n)] times drawer width.

Geometric

Each drawer height calulated as a percentage (ratio) of the previous drawer starting with the bottom drawer.

Fibonacci/Phi

Each set of two drawers calculated as 1.618 based on the lower drawer (includes rails).

Arithmetic

Each drawer height is reduced by a fixed amount from the lower drawer.

Manual

Enter each drawer height individually.

Manual/Diff

Enter the difference between each drawer, empty values are ignored.

Scaling

Image will scale to fit the space. To rescale clear the drawing and reselect the calculation method.


Screen

About

Drawer Front Calculator

License:MIT License


Languages

Language:JavaScript 47.6%Language:CSS 46.9%Language:HTML 5.5%