The Plant-to-Oil Yield Calculator is a lightweight, dependency-free web application designed to help users determine how many plants or trees are required to yield a specific volume of oil. The tool provides real-time calculations and includes helpful tips for home extraction methods based on the selected plant type.
- Dynamic Yield Calculation: Calculate the number of plants needed to reach a target oil volume.
- Multiple Unit Support: Toggle seamlessly between Liters and Gallons.
- Diverse Plant Database: Supports calculations for Olive Trees, Sunflowers, Peanuts, Rapeseed/Canola, and Lavender.
- Extraction Guidelines: Provides brief, practical instructions for home extraction methods, such as cold pressing, expeller pressing, and steam distillation.
- Responsive Design: Clean, modern interface that works across various device sizes.
- HTML5
- CSS3 (Vanilla)
- JavaScript (Vanilla)
This project requires no build steps or package managers.
-
Clone the repository to your local machine:
git clone https://github.com/mtepenner/plant-to-oil.git
-
Navigate to the project directory:
cd plant-to-oil -
Open
index.htmldirectly in your preferred web browser.
- Open the application in your browser.
- Enter your Target Volume (e.g., 1, 5, 10).
- Select your preferred Unit (Liters or Gallons) from the dropdown.
- Choose the Plant Type you wish to process.
- The result card will automatically update to display the estimated number of plants/trees needed and a brief note on how to extract the oil at home.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
This project is licensed under the MIT License