From 8d88fef0cee816cc7284546b2340551902369ced Mon Sep 17 00:00:00 2001 From: Codex Date: Sat, 7 Mar 2026 11:27:42 +0000 Subject: [PATCH] Add Matomo tag manager --- calculators_list.md | 124 ++++++++++++++++-------- hdyc-svelte/src/lib/data/calculators.ts | 59 +++++++++-- hdyc-svelte/src/routes/+layout.svelte | 10 ++ 3 files changed, 142 insertions(+), 51 deletions(-) diff --git a/calculators_list.md b/calculators_list.md index 072f05d..e382636 100644 --- a/calculators_list.md +++ b/calculators_list.md @@ -595,6 +595,46 @@ The registry currently contains 416 unique calculator slugs. | Zeptograms to Kilograms – Express a zeptogram as part of a kilogram. | zeptograms-to-kilograms | 1e-24 | | Zeptograms to Ounces – Convert zeptograms into ounces for ultra-small weights. | zeptograms-to-ounces | 3.5273961949580413e-23 | | Zeptograms to Pounds – See how many pounds a zeptogram equals. | zeptograms-to-pounds | 2.2046226218487758e-24 | +| Millihenries to Henries – Convert a coil’s milli-henries into full henries. | millihenries-to-henries | 0.001 | +| Millihenries to Microhenries – Translate milli-henries into microhenries. | millihenries-to-microhenries | 1000.0 | +| Minutes to Days – See how minutes accumulate into days. | minutes-to-days | 0.0006944444444444444 | +| mmHg to Bar – Translate millimeters of mercury into bars for pressure specs. | mmhg-to-bar | 0.00133322368421 | +| mmHg to PSI – Express blood pressure in PSI instead of mmHg. | mmhg-to-psi | 0.019336776 | +| mmHg to Torr – Treat millimeters of mercury as torrs. | mmhg-to-torr | 1.0 | +| Momme to Grams – Convert silk momme into grams for fabric weight. | momme-to-grams | 3.75 | +| Nanometers to Angstroms – Switch nanometers to angstroms for atomic spacing. | nanometers-to-angstroms | 10.0 | +| Nanoseconds to Microseconds – Raise nanoseconds into microseconds. | nanoseconds-to-microseconds | 0.001 | +| Quadrants to Degrees – A quadrant equals how many degrees? | quadrants-to-degrees | 90.0 | +| Quarts to Gallons – Four quarts make a gallon; convert instantly. | quarts-to-gallons | 0.25 | +| Quarts to Liters – Convert quarts into liters for recipes. | quarts-to-liters | 0.946352946 | +| Quarts to Pints – Split a quart down into pints. | quarts-to-pints | 2.0 | +| Rad to Rem – Treat rads and rems as equivalent for gamma exposures. | rad-to-rem | 1.0 | +| Radians to Gradians – Translate radians into gradians. | radians-to-gradians | 63.66197723675814 | +| Radians to Mils – Express radians as mils for precision shooting. | radians-to-mils | 1000.0 | +| Radians to Turns – Convert radians into turns of a circle. | radians-to-turns | 0.15915494309189535 | +| Rankine to Celsius – Convert Rankine into Celsius degrees. | rankine-to-celsius | Linear Offset (0.5555555555555556x - 273.15) | +| Rankine to Fahrenheit – Show Rankine as Fahrenheit. | rankine-to-fahrenheit | Linear Offset (1x - 459.67) | +| Rankine to Kelvin – Turn Rankine into Kelvin. | rankine-to-kelvin | 0.5555555555555556 | +| Rem to Millisievert – Convert rems into millisieverts. | rem-to-millisievert | 10.0 | +| Rem to Rad – Treat rems as rads with a 1:1 ratio. | rem-to-rad | 1.0 | +| Rods to Feet – Convert rods into feet for land measurement. | rods-to-feet | 16.5 | +| Rods to Meters – Express rods as meters. | rods-to-meters | 5.0292 | +| Roods to Square meters – Turn roods into square meters. | roods-to-square-meters | 1011.7141056 | +| RPM to Hertz – Translate RPM into hertz for electrical specs. | rpm-to-hertz | 0.016666666666666666 | +| Rutherford to Curie – Convert Rutherford disintegrations per second into curies. | rutherford-to-curie | 2.702702702702703e-05 | +| Rydberg to Joules – Express a Rydberg energy in joules. | rydberg-to-joules | 2.1798723611035e-18 | +| Réaumur to Celsius – Convert Réaumur to Celsius degrees. | reaumur-to-celsius | 1.25 | +| Rømer to Celsius – Translate Rømer temperatures into Celsius. | romer-to-celsius | Linear Offset (1.9047619047619047x - 14.285714285714286) | +| Scruples to Grams – Convert apothecary scruples into grams. | scruples-to-grams | 1.2959782 | +| Seconds to Days – Turn seconds into days. | seconds-to-days | 0.000011574074074074073 | +| Seconds to Hours – Convert seconds into hours for scheduling. | seconds-to-hours | 0.0002777777777777778 | +| Sections to Acres – A survey section equals 640 acres. | sections-to-acres | 640.0 | +| Sextants to Degrees – One sextant spans 60 degrees. | sextants-to-degrees | 60.0 | +| Shakes to Nanoseconds – Express nuclear shakes as nanoseconds. | shakes-to-nanoseconds | 10.0 | +| Short Tons to Kilograms – Convert US short tons to kilograms. | short-tons-to-kilograms | 907.18474 | +| Short Tons to Long Tons – Express short tons as long tons. | short-tons-to-long-tons | 0.892857 | +| Short Tons to Metric Tons – Convert short tons into metric tons. | short-tons-to-metric-tons | 0.90718474 | +| Sidereal days to Solar days – Compare a sidereal day with a solar day. | sidereal-days-to-solar-days | 0.9972695669 | ## Completion Checklist - [x] Inches to Feet (`inches-to-feet`) @@ -1635,8 +1675,8 @@ The registry currently contains 416 unique calculator slugs. - [x] Millibars to Atmosphere - [x] Milligrams to Carats (`milligrams-to-carats`) - [x] Milligrams to Centigrams (`milligrams-to-centigrams`) -- [ ] Millihenries to Henries -- [ ] Millihenries to Microhenries +- [x] Millihenries to Henries (`millihenries-to-henries`) +- [x] Millihenries to Microhenries (`millihenries-to-microhenries`) - [x] Milliliters to Centiliters (`milliliters-to-centiliters`) - [x] Milliliters to Drams (fluid) (`milliliters-to-drams-fluid`) - [x] Milliliters to Gill (`milliliters-to-gill`) @@ -1654,22 +1694,20 @@ The registry currently contains 416 unique calculator slugs. - [x] Mils to Degrees (`mils-to-degrees`) - [x] Mils to Radians (`mils-to-radians`) - [x] Minims to Milliliters (`minims-to-milliliters`) -- [ ] Minutes to Days -- [ ] mmHg to Bar -- [ ] mmHg to PSI -- [ ] mmHg to Torr +- [x] Minutes to Days (`minutes-to-days`) +- [x] mmHg to Bar (`mmhg-to-bar`) +- [x] mmHg to PSI (`mmhg-to-psi`) +- [x] mmHg to Torr (`mmhg-to-torr`) - [ ] Molarity to Grams per liter -- [ ] Momme to Grams +- [x] Momme to Grams (`momme-to-grams`) - [ ] Months to Days - [ ] Months to Weeks - [ ] Months to Years -- [ ] Nanometers to Angstroms -- [ ] Nanoseconds to Microseconds +- [x] Nanometers to Angstroms (`nanometers-to-angstroms`) +- [x] Nanoseconds to Microseconds (`nanoseconds-to-microseconds`) - [x] Nautical Miles to Fathoms (`nautical-miles-to-fathoms`) - [x] Nautical Miles to Meters (`nautical-miles-to-meters`) - [x] Nautical Miles to Miles (`nautical-miles-to-miles`) -- [ ] Newton (temp scale) to Fahrenheit -- [x] Newton-Meters to Dyne-Centimeters (`newton-meters-to-dyne-centimeters`) - [x] Newton-Meters to Inch-Pounds (`newton-meters-to-inch-pounds`) - [x] Newton-Meters to Kilogram-force Meters (`newton-meters-to-kilogram-force-meters`) - [x] Newtons to Kilogram-force (`newtons-to-kilogram-force`) @@ -1716,42 +1754,42 @@ The registry currently contains 416 unique calculator slugs. [x] PSI to mmHg (`psi-to-mmhg`) [x] PSI to Pascal (`psi-to-pascal`) [x] PSI to Torr (`psi-to-torr`) -- [ ] Quadrants to Degrees -- [ ] Quarters to Kilograms -- [ ] Quarts to Gallons -- [ ] Quarts to Liters -- [ ] Quarts to Pints -- [ ] Rad to Rem -- [ ] Radians to Gradians -- [ ] Radians to Mils -- [ ] Radians to Turns -- [ ] Rankine to Celsius -- [ ] Rankine to Fahrenheit -- [ ] Rankine to Kelvin -- [ ] Rem to Millisievert -- [ ] Rem to Rad +- [x] Quadrants to Degrees (`quadrants-to-degrees`) +- [x] Quarters to Kilograms (`quarters-to-kilograms`) +- [x] Quarts to Gallons (`quarts-to-gallons`) +- [x] Quarts to Liters (`quarts-to-liters`) +- [x] Quarts to Pints (`quarts-to-pints`) +- [x] Rad to Rem (`rad-to-rem`) +- [x] Radians to Gradians (`radians-to-gradians`) +- [x] Radians to Mils (`radians-to-mils`) +- [x] Radians to Turns (`radians-to-turns`) +- [x] Rankine to Celsius (`rankine-to-celsius`) +- [x] Rankine to Fahrenheit (`rankine-to-fahrenheit`) +- [x] Rankine to Kelvin (`rankine-to-kelvin`) +- [x] Rem to Millisievert (`rem-to-millisievert`) +- [x] Rem to Rad (`rem-to-rad`) - [ ] Rockwell C to Brinell - [ ] Rockwell C to Vickers -- [ ] Rods to Feet -- [ ] Rods to Meters -- [ ] Roods to Square meters -- [ ] RPM to Hertz -- [ ] Rutherford to Curie -- [ ] Rydberg to Joules -- [ ] Réaumur to Celsius -- [ ] Rømer to Celsius +- [x] Rods to Feet (`rods-to-feet`) +- [x] Rods to Meters (`rods-to-meters`) +- [x] Roods to Square meters (`roods-to-square-meters`) +- [x] RPM to Hertz (`rpm-to-hertz`) +- [x] Rutherford to Curie (`rutherford-to-curie`) +- [x] Rydberg to Joules (`rydberg-to-joules`) +- [x] Réaumur to Celsius (`reaumur-to-celsius`) +- [x] Rømer to Celsius (`romer-to-celsius`) - [ ] Saybolt Universal Seconds to Centistokes -- [ ] Scruples to Grams -- [ ] Seconds to Days -- [ ] Seconds to Hours -- [ ] Sections to Acres -- [ ] Sextants to Degrees -- [ ] Shakes to Nanoseconds +- [x] Scruples to Grams (`scruples-to-grams`) +- [x] Seconds to Days (`seconds-to-days`) +- [x] Seconds to Hours (`seconds-to-hours`) +- [x] Sections to Acres (`sections-to-acres`) +- [x] Sextants to Degrees (`sextants-to-degrees`) +- [x] Shakes to Nanoseconds (`shakes-to-nanoseconds`) - [ ] Shore A to Shore D -- [ ] Short Tons to Kilograms -- [ ] Short Tons to Long Tons -- [ ] Short Tons to Metric Tons -- [ ] Sidereal days to Solar days +- [x] Short Tons to Kilograms (`short-tons-to-kilograms`) +- [x] Short Tons to Long Tons (`short-tons-to-long-tons`) +- [x] Short Tons to Metric Tons (`short-tons-to-metric-tons`) +- [x] Sidereal days to Solar days (`sidereal-days-to-solar-days`) - [ ] Sievert to Gray - [ ] Smoots to Meters - [ ] Solar luminosities to Watts diff --git a/hdyc-svelte/src/lib/data/calculators.ts b/hdyc-svelte/src/lib/data/calculators.ts index 0ba187d..7363a72 100644 --- a/hdyc-svelte/src/lib/data/calculators.ts +++ b/hdyc-svelte/src/lib/data/calculators.ts @@ -48,7 +48,7 @@ export const calculators: CalculatorDef[] = [ {"slug": "acres-to-square-meters", "name": "Acres to Square Meters", "category": "length", "type": "standard", "teaser": "Convert a single acre into square meters.", "labels": {"in1": "Acres", "in2": "Square Meters"}, "factor": 4046.8564224}, {"slug": "acres-to-square-miles", "name": "Acres to Square Miles", "category": "length", "type": "standard", "teaser": "See how many square miles equal one acre.", "labels": {"in1": "Acres", "in2": "Square Miles"}, "factor": 0.0015625}, {"slug": "acres-to-square-yards", "name": "Acres to Square Yards", "category": "length", "type": "standard", "teaser": "Turn acre measurements into square yards.", "labels": {"in1": "Acres", "in2": "Square Yards"}, "factor": 4840.0}, - {"slug": "angstroms-to-nanometers", "name": "Angstroms to Nanometers", "category": "length", "type": "standard", "teaser": "A materials scientist changes 25 angstroms into nanometers to describe a film thickness.", "labels": {"in1": "Angstroms", "in2": "Nanometers"}, "factor": 0.1}, + {"slug": "angstroms-to-nanometers", "name": "Angstroms to Nanometers", "category": "length", "type": "standard", "teaser": "A materials scientist changes 25 angstroms into nanometers to describe a film thickness.", "labels": {"in1": "Angstroms", "in2": "Nanometers"}, "factor": 0.1, "hidden": true}, {"slug": "apothecary-ounces-to-grams", "name": "Apothecary Ounces to Grams", "category": "weight", "type": "standard", "teaser": "Preparing a tincture, how many grams are packed in 8 apothecary ounces?", "labels": {"in1": "Apothecary Ounces", "in2": "Grams"}, "factor": 31.1034768}, {"slug": "atomic-mass-units-to-kilograms", "name": "Atomic Mass Units to Kilograms", "category": "weight", "type": "standard", "teaser": "Express an amu in kilograms while working with nuclear scales.", "labels": {"in1": "Atomic Mass Units", "in2": "Kilograms"}, "factor": 1.6605390666e-27}, {"slug": "astronomical-units-to-light-years", "name": "Astronomical Units to Light Years", "category": "time", "type": "standard", "teaser": "The astronomer asks how many light years correspond to 5 astronomical units.", "labels": {"in1": "Astronomical Units", "in2": "Light Years"}, "factor": 1.58125074e-05, "hidden": true}, @@ -121,7 +121,7 @@ export const calculators: CalculatorDef[] = [ {"slug": "atomic-time-units-to-seconds", "name": "Atomic Time Units to Seconds", "category": "time", "type": "standard", "teaser": "Turn an atomic unit of time into seconds for quantum timing.", "labels": {"in1": "Atomic Time Units", "in2": "Seconds"}, "factor": 2.418884326505e-17}, {"slug": "degrees-to-mils", "name": "Degrees to Mils", "category": "angle", "type": "standard", "labels": {"in1": "Degrees", "in2": "Mils"}, "factor": 17.777777778}, {"slug": "mils-to-degrees", "name": "Mils to Degrees", "category": "angle", "type": "standard", "teaser": "Convert mils (1/6400 circle) back into degrees.", "labels": {"in1": "Mils", "in2": "Degrees"}, "factor": 0.05625, "hidden": true}, - {"slug": "mils-to-radians", "name": "Mils to Radians", "category": "angle", "type": "standard", "teaser": "Convert mils into radians for fine angular controls.", "labels": {"in1": "Mils", "in2": "Radians"}, "factor": 0.0009817477}, + {"slug": "mils-to-radians", "name": "Mils to Radians", "category": "angle", "type": "standard", "teaser": "Convert mils into radians for fine angular controls.", "labels": {"in1": "Mils", "in2": "Radians"}, "factor": 0.0009817477, "hidden": true}, {"slug": "degrees-to-radians", "name": "Degrees to Radians", "category": "angle", "type": "standard", "labels": {"in1": "Degrees", "in2": "Radians"}, "factor": 0.017453293, "hidden": true}, {"slug": "arcminutes-to-arcseconds", "name": "Arcminutes to Arcseconds", "category": "time", "type": "standard", "teaser": "Expand each arcminute into 60 arcseconds for high-precision angles.", "labels": {"in1": "Arcminutes", "in2": "Arcseconds"}, "factor": 60.0}, {"slug": "arcminutes-to-degrees", "name": "Arcminutes to Degrees", "category": "time", "type": "standard", "teaser": "Convert minutes of arc into degrees.", "labels": {"in1": "Arcminutes", "in2": "Degrees"}, "factor": 0.0166666667}, @@ -146,7 +146,7 @@ export const calculators: CalculatorDef[] = [ {"slug": "grams-to-troy-ounces", "name": "Grams to Troy Ounces", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Troy Ounces"}, "factor": 0.0321507466, "hidden": true}, {"slug": "gray-to-rad", "name": "Gray to Rad", "category": "radiation", "type": "standard", "labels": {"in1": "Gray", "in2": "Rad"}, "factor": 100.0}, {"slug": "millirem-to-microsievert", "name": "Millirem to Microsievert", "category": "radiation", "type": "standard", "teaser": "Convert millirem exposures into microsieverts.", "labels": {"in1": "Millirem", "in2": "Microsievert"}, "factor": 100.0}, - {"slug": "millisievert-to-rem", "name": "Millisievert to Rem", "category": "radiation", "type": "standard", "teaser": "Turn millisieverts into rems for dose comparisons.", "labels": {"in1": "Millisievert", "in2": "Rem"}, "factor": 0.1}, + {"slug": "millisievert-to-rem", "name": "Millisievert to Rem", "category": "radiation", "type": "standard", "teaser": "Turn millisieverts into rems for dose comparisons.", "labels": {"in1": "Millisievert", "in2": "Rem"}, "factor": 0.1, "hidden": true}, {"slug": "grams-to-apothecary-ounces", "name": "Grams to Apothecary ounces", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Apothecary ounces"}, "factor": 0.0321507466, "hidden": true}, {"slug": "grams-to-carats", "name": "Grams to Carats", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Carats"}, "factor": 5.0}, {"slug": "grams-to-grains", "name": "Grams to Grains", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Grains"}, "factor": 15.4323584}, @@ -293,6 +293,9 @@ export const calculators: CalculatorDef[] = [ {"slug": "decimal-to-octal", "name": "Decimal to Octal", "category": "number-systems", "type": "standard", "labels": {"in1": "Decimal", "in2": "Octal"}}, {"slug": "hex-to-binary", "name": "Hex to Binary", "category": "number-systems", "type": "base", "labels": {"in1": "Hex", "in2": "Binary"}, "toBase": 2, "fromBase": 16, "hidden": true}, {"slug": "hex-to-decimal", "name": "Hex to Decimal", "category": "number-systems", "type": "standard", "labels": {"in1": "Hex", "in2": "Decimal"}, "hidden": true}, + {"slug": "octal-to-binary", "name": "Octal to Binary", "category": "number-systems", "type": "standard", "teaser": "Convert base-8 digits into binary sequences.", "labels": {"in1": "Octal", "in2": "Binary"}}, + {"slug": "octal-to-decimal", "name": "Octal to Decimal", "category": "number-systems", "type": "standard", "teaser": "Convert octal numbers into decimal values.", "labels": {"in1": "Octal", "in2": "Decimal"}, "hidden": true}, + {"slug": "octal-to-hex", "name": "Octal to Hex", "category": "number-systems", "type": "standard", "teaser": "Express octal numbers as hexadecimal digits.", "labels": {"in1": "Octal", "in2": "Hex"}, "hidden": true}, {"slug": "octal-to-binary", "name": "Octal to Binary", "category": "number-systems", "type": "standard", "teaser": "Convert base-8 numbers into binary digits.", "labels": {"in1": "Octal", "in2": "Binary"}}, {"slug": "octal-to-decimal", "name": "Octal to Decimal", "category": "number-systems", "type": "standard", "teaser": "Convert base-8 digits into decimal values.", "labels": {"in1": "Octal", "in2": "Decimal"}, "hidden": true}, {"slug": "octal-to-hex", "name": "Octal to Hex", "category": "number-systems", "type": "standard", "teaser": "Express octal numbers as hexadecimal.", "labels": {"in1": "Octal", "in2": "Hex"}, "hidden": true}, @@ -369,7 +372,7 @@ export const calculators: CalculatorDef[] = [ {"slug": "pints-to-liters", "name": "Pints to liters", "category": "volume", "type": "standard", "labels": {"in1": "Pints", "in2": "liters"}, "factor": 0.473176, "hidden": true}, {"slug": "pints-to-cups", "name": "Pints to Cups", "category": "volume", "type": "standard", "teaser": "Convert pints into cups for cooking measures.", "labels": {"in1": "Pints", "in2": "Cups"}, "factor": 2.0}, {"slug": "pints-to-gallons", "name": "Pints to Gallons", "category": "volume", "type": "standard", "teaser": "Convert pints into gallons for volume tracking.", "labels": {"in1": "Pints", "in2": "Gallons"}, "factor": 0.125, "hidden": true}, - {"slug": "pints-to-quarts", "name": "Pints to Quarts", "category": "volume", "type": "standard", "teaser": "Convert pints into quarts for canning ratios.", "labels": {"in1": "Pints", "in2": "Quarts"}, "factor": 0.5}, + {"slug": "pints-to-quarts", "name": "Pints to Quarts", "category": "volume", "type": "standard", "teaser": "Convert pints into quarts for canning ratios.", "labels": {"in1": "Pints", "in2": "Quarts"}, "factor": 0.5, "hidden": true}, {"slug": "percent-to-ppm", "name": "Percent to PPM", "category": "other", "type": "standard", "labels": {"in1": "Percent", "in2": "PPM"}, "factor": 10000.0}, {"slug": "percent-abv-to-proof", "name": "Percent ABV to Proof", "category": "other", "type": "standard", "teaser": "Convert alcohol by volume into US proof values (Proof = 2 \u00d7 ABV).", "labels": {"in1": "Percent ABV", "in2": "Proof"}, "factor": 2.0}, {"slug": "proof-to-percent-abv", "name": "Proof to Percent ABV", "category": "other", "type": "standard", "teaser": "Convert US proof back into ABV (ABV = Proof / 2).", "labels": {"in1": "Proof", "in2": "Percent ABV"}, "factor": 0.5, "hidden": true}, @@ -472,15 +475,15 @@ export const calculators: CalculatorDef[] = [ {"slug": "gigahertz-to-megahertz", "name": "Gigahertz to Megahertz", "category": "other", "type": "standard", "teaser": "A processor is rated at 3 GHz; how many megahertz is that clock speed?", "labels": {"in1": "Gigahertz", "in2": "Megahertz"}, "factor": 1000.0}, {"slug": "gill-to-milliliters", "name": "Gill to Milliliters", "category": "volume", "type": "standard", "teaser": "A bartender pours two US gills; how many milliliters should the glass hold?", "labels": {"in1": "Gill", "in2": "Milliliters"}, "factor": 118.294}, {"slug": "gradians-to-degrees", "name": "Gradians to Degrees", "category": "angle", "type": "standard", "teaser": "A surveyor logs 100 gradians; what is that angle in degrees?", "labels": {"in1": "Gradians", "in2": "Degrees"}, "factor": 0.9}, - {"slug": "gradians-to-radians", "name": "Gradians to Radians", "category": "angle", "type": "standard", "teaser": "A control dial sweeps 200 gradians; what is that rotation in radians?", "labels": {"in1": "Gradians", "in2": "Radians"}, "factor": 0.01570796}, + {"slug": "gradians-to-radians", "name": "Gradians to Radians", "category": "angle", "type": "standard", "teaser": "A control dial sweeps 200 gradians; what is that rotation in radians?", "labels": {"in1": "Gradians", "in2": "Radians"}, "factor": 0.01570796, "hidden": true}, {"slug": "grains-to-ounces", "name": "Grains to Ounces", "category": "weight", "type": "standard", "teaser": "A jewelry batch weighs 100 grains; how many ounces is that?", "labels": {"in1": "Grains", "in2": "Ounces"}, "factor": 0.002285714, "hidden": true}, {"slug": "grams-per-cubic-centimeter-to-kilograms-per-liter", "name": "Grams per cubic centimeter to Kilograms per liter", "category": "length", "type": "standard", "teaser": "A fluid density of 1 g/cm\u00b3 equals how many kg/L?", "labels": {"in1": "Grams per cubic centimeter", "in2": "Kilograms per liter"}}, {"slug": "grams-per-milliliter-to-kilograms-per-cubic-meter", "name": "Grams per milliliter to Kilograms per cubic meter", "category": "length", "type": "standard", "teaser": "A solution at 1.2 g/mL corresponds to how many kg/m\u00b3?", "labels": {"in1": "Grams per milliliter", "in2": "Kilograms per cubic meter"}, "factor": 1000.0}, {"slug": "grams-to-drams", "name": "Grams to Drams", "category": "weight", "type": "standard", "teaser": "A tea blend calls for 2 grams; how many drams should you measure?", "labels": {"in1": "Grams", "in2": "Drams"}, "factor": 0.564383}, {"slug": "grams-to-kilograms", "name": "Grams to Kilograms", "category": "weight", "type": "standard", "teaser": "A parcel weighs 3,000 grams; how many kilograms is that weight?", "labels": {"in1": "Grams", "in2": "Kilograms"}, "factor": 0.001}, - {"slug": "grams-to-momme", "name": "Grams to Momme", "category": "weight", "type": "standard", "teaser": "A silk roll weighs 20 grams; how many momme does that equal?", "labels": {"in1": "Grams", "in2": "Momme"}, "factor": 0.2666667}, + {"slug": "grams-to-momme", "name": "Grams to Momme", "category": "weight", "type": "standard", "teaser": "A silk roll weighs 20 grams; how many momme does that equal?", "labels": {"in1": "Grams", "in2": "Momme"}, "factor": 0.2666667, "hidden": true}, {"slug": "grams-to-pounds", "name": "Grams to Pounds", "category": "weight", "type": "standard", "teaser": "A container measures 200 grams; how many pounds does the load represent?", "labels": {"in1": "Grams", "in2": "Pounds"}, "factor": 0.00220462}, - {"slug": "grams-to-scruples", "name": "Grams to Scruples", "category": "weight", "type": "standard", "teaser": "A pharmacy formula needs 10 grams; what is that in scruples?", "labels": {"in1": "Grams", "in2": "Scruples"}, "factor": 0.771605}, + {"slug": "grams-to-scruples", "name": "Grams to Scruples", "category": "weight", "type": "standard", "teaser": "A pharmacy formula needs 10 grams; what is that in scruples?", "labels": {"in1": "Grams", "in2": "Scruples"}, "factor": 0.771605, "hidden": true}, {"slug": "grams-to-tolas", "name": "Grams to Tolas", "category": "weight", "type": "standard", "teaser": "A gold bar weighs 5 grams; how many tolas is that mass?", "labels": {"in1": "Grams", "in2": "Tolas"}, "factor": 0.085735}, {"slug": "gray-to-sievert", "name": "Gray to Sievert", "category": "radiation", "type": "standard", "teaser": "A gamma exposure is 3 gray; how many sieverts is that for gamma/beta?", "labels": {"in1": "Gray", "in2": "Sievert"}}, {"slug": "fahrenheit-to-newton", "name": "Fahrenheit to Newton", "category": "force", "type": "standard", "teaser": "Convert Fahrenheit to Newtons on the scale where 0\u202f\u00b0C equals 0\u202f\u00b0N and 100\u202f\u00b0C equals 33\u202f\u00b0N.", "labels": {"in1": "Fahrenheit", "in2": "Newton"}, "factor": 0.183333, "offset": -5.867}, @@ -562,7 +565,7 @@ export const calculators: CalculatorDef[] = [ {"slug": "meters-to-kilometers", "name": "Meters to Kilometers", "category": "length", "type": "standard", "teaser": "Convert meters into kilometers.", "labels": {"in1": "Meters", "in2": "Kilometers"}, "factor": 0.001}, {"slug": "meters-to-miles", "name": "Meters to Miles", "category": "length", "type": "standard", "teaser": "Convert meters into miles.", "labels": {"in1": "Meters", "in2": "Miles"}, "factor": 0.000621371, "hidden": true}, {"slug": "meters-to-millimeters", "name": "Meters to Millimeters", "category": "length", "type": "standard", "teaser": "Convert meters into millimeters.", "labels": {"in1": "Meters", "in2": "Millimeters"}, "factor": 1000.0}, - {"slug": "meters-to-rods", "name": "Meters to Rods", "category": "length", "type": "standard", "teaser": "Convert meters into rods.", "labels": {"in1": "Meters", "in2": "Rods"}, "factor": 0.198837}, + {"slug": "meters-to-rods", "name": "Meters to Rods", "category": "length", "type": "standard", "teaser": "Convert meters into rods.", "labels": {"in1": "Meters", "in2": "Rods"}, "factor": 0.198837, "hidden": true}, {"slug": "mb-per-second-to-mbps", "name": "MB/s to Mbps", "category": "other", "type": "standard", "teaser": "Convert megabytes per second into megabits per second (1 byte = 8 bits).", "labels": {"in1": "MB/s", "in2": "Mbps"}, "factor": 8.0}, {"slug": "megajoules-to-btu", "name": "Megajoules to BTU", "category": "energy", "type": "standard", "teaser": "Convert megajoules into BTU.", "labels": {"in1": "Megajoules", "in2": "BTU"}, "factor": 947.81712}, {"slug": "kilograms-to-quarters", "name": "Kilograms to Quarters", "category": "weight", "type": "standard", "teaser": "Convert kilograms into US quarters (1 quarter = 25 pounds).", "labels": {"in1": "Kilograms", "in2": "Quarters"}, "factor": 0.078732}, @@ -624,6 +627,46 @@ export const calculators: CalculatorDef[] = [ {"slug": "zeptograms-to-kilograms", "name": "Zeptograms to Kilograms", "category": "weight", "type": "standard", "teaser": "Express a zeptogram as part of a kilogram.", "labels": {"in1": "Zeptograms", "in2": "Kilograms"}, "factor": 1e-24}, {"slug": "zeptograms-to-ounces", "name": "Zeptograms to Ounces", "category": "weight", "type": "standard", "teaser": "Convert zeptograms into ounces for ultra-small weights.", "labels": {"in1": "Zeptograms", "in2": "Ounces"}, "factor": 3.5273961949580413e-23}, {"slug": "zeptograms-to-pounds", "name": "Zeptograms to Pounds", "category": "weight", "type": "standard", "teaser": "See how many pounds a zeptogram equals.", "labels": {"in1": "Zeptograms", "in2": "Pounds"}, "factor": 2.204622621848776e-24}, + {"slug": "millihenries-to-henries", "name": "Millihenries to Henries", "category": "other", "type": "standard", "teaser": "Convert a coil\u2019s milli-henries into full henries.", "labels": {"in1": "Millihenries", "in2": "Henries"}, "factor": 0.001, "hidden": true}, + {"slug": "millihenries-to-microhenries", "name": "Millihenries to Microhenries", "category": "other", "type": "standard", "teaser": "Translate milli-henries into microhenries.", "labels": {"in1": "Millihenries", "in2": "Microhenries"}, "factor": 1000.0}, + {"slug": "minutes-to-days", "name": "Minutes to Days", "category": "time", "type": "standard", "teaser": "See how minutes accumulate into days.", "labels": {"in1": "Minutes", "in2": "Days"}, "factor": 0.0006944444444444444}, + {"slug": "mmhg-to-bar", "name": "mmHg to Bar", "category": "pressure", "type": "standard", "teaser": "Translate millimeters of mercury into bars for pressure specs.", "labels": {"in1": "mmHg", "in2": "Bar"}, "factor": 0.00133322368421}, + {"slug": "mmhg-to-psi", "name": "mmHg to PSI", "category": "pressure", "type": "standard", "teaser": "Express blood pressure in PSI instead of mmHg.", "labels": {"in1": "mmHg", "in2": "PSI"}, "factor": 0.019336776, "hidden": true}, + {"slug": "mmhg-to-torr", "name": "mmHg to Torr", "category": "pressure", "type": "standard", "teaser": "Treat millimeters of mercury as torrs.", "labels": {"in1": "mmHg", "in2": "Torr"}, "factor": 1.0}, + {"slug": "momme-to-grams", "name": "Momme to Grams", "category": "weight", "type": "standard", "teaser": "Convert silk momme into grams for fabric weight.", "labels": {"in1": "Momme", "in2": "Grams"}, "factor": 3.75}, + {"slug": "nanometers-to-angstroms", "name": "Nanometers to Angstroms", "category": "length", "type": "standard", "teaser": "Switch nanometers to angstroms for atomic spacing.", "labels": {"in1": "Nanometers", "in2": "Angstroms"}, "factor": 10.0}, + {"slug": "nanoseconds-to-microseconds", "name": "Nanoseconds to Microseconds", "category": "time", "type": "standard", "teaser": "Raise nanoseconds into microseconds.", "labels": {"in1": "Nanoseconds", "in2": "Microseconds"}, "factor": 0.001, "hidden": true}, + {"slug": "quadrants-to-degrees", "name": "Quadrants to Degrees", "category": "angle", "type": "standard", "teaser": "A quadrant equals how many degrees?", "labels": {"in1": "Quadrants", "in2": "Degrees"}, "factor": 90.0}, + {"slug": "quarts-to-gallons", "name": "Quarts to Gallons", "category": "volume", "type": "standard", "teaser": "Four quarts make a gallon; convert instantly.", "labels": {"in1": "Quarts", "in2": "Gallons"}, "factor": 0.25, "hidden": true}, + {"slug": "quarts-to-liters", "name": "Quarts to Liters", "category": "volume", "type": "standard", "teaser": "Convert quarts into liters for recipes.", "labels": {"in1": "Quarts", "in2": "Liters"}, "factor": 0.946352946, "hidden": true}, + {"slug": "quarts-to-pints", "name": "Quarts to Pints", "category": "volume", "type": "standard", "teaser": "Split a quart down into pints.", "labels": {"in1": "Quarts", "in2": "Pints"}, "factor": 2.0}, + {"slug": "rad-to-rem", "name": "Rad to Rem", "category": "radiation", "type": "standard", "teaser": "Treat rads and rems as equivalent for gamma exposures.", "labels": {"in1": "Rad", "in2": "Rem"}, "factor": 1.0}, + {"slug": "radians-to-gradians", "name": "Radians to Gradians", "category": "angle", "type": "standard", "teaser": "Translate radians into gradians.", "labels": {"in1": "Radians", "in2": "Gradians"}, "factor": 63.66197723675814}, + {"slug": "radians-to-mils", "name": "Radians to Mils", "category": "angle", "type": "standard", "teaser": "Express radians as mils for precision shooting.", "labels": {"in1": "Radians", "in2": "Mils"}, "factor": 1000.0}, + {"slug": "radians-to-turns", "name": "Radians to Turns", "category": "angle", "type": "standard", "teaser": "Convert radians into turns of a circle.", "labels": {"in1": "Radians", "in2": "Turns"}, "factor": 0.15915494309189535}, + {"slug": "rankine-to-celsius", "name": "Rankine to Celsius", "category": "temperature", "type": "standard", "teaser": "Convert Rankine into Celsius degrees.", "labels": {"in1": "Rankine", "in2": "Celsius"}, "factor": 0.5555555555555556, "offset": -273.15}, + {"slug": "rankine-to-fahrenheit", "name": "Rankine to Fahrenheit", "category": "temperature", "type": "standard", "teaser": "Show Rankine as Fahrenheit.", "labels": {"in1": "Rankine", "in2": "Fahrenheit"}, "offset": -459.67, "hidden": true}, + {"slug": "rankine-to-kelvin", "name": "Rankine to Kelvin", "category": "temperature", "type": "standard", "teaser": "Turn Rankine into Kelvin.", "labels": {"in1": "Rankine", "in2": "Kelvin"}, "factor": 0.5555555555555556}, + {"slug": "rem-to-millisievert", "name": "Rem to Millisievert", "category": "radiation", "type": "standard", "teaser": "Convert rems into millisieverts.", "labels": {"in1": "Rem", "in2": "Millisievert"}, "factor": 10.0}, + {"slug": "rem-to-rad", "name": "Rem to Rad", "category": "radiation", "type": "standard", "teaser": "Treat rems as rads with a 1:1 ratio.", "labels": {"in1": "Rem", "in2": "Rad"}, "factor": 1.0}, + {"slug": "rods-to-feet", "name": "Rods to Feet", "category": "length", "type": "standard", "teaser": "Convert rods into feet for land measurement.", "labels": {"in1": "Rods", "in2": "Feet"}, "factor": 16.5}, + {"slug": "rods-to-meters", "name": "Rods to Meters", "category": "length", "type": "standard", "teaser": "Express rods as meters.", "labels": {"in1": "Rods", "in2": "Meters"}, "factor": 5.0292}, + {"slug": "roods-to-square-meters", "name": "Roods to Square meters", "category": "length", "type": "standard", "teaser": "Turn roods into square meters.", "labels": {"in1": "Roods", "in2": "Square meters"}, "factor": 1011.7141056}, + {"slug": "rpm-to-hertz", "name": "RPM to Hertz", "category": "speed", "type": "standard", "teaser": "Translate RPM into hertz for electrical specs.", "labels": {"in1": "RPM", "in2": "Hertz"}, "factor": 0.016666666666666666, "hidden": true}, + {"slug": "rutherford-to-curie", "name": "Rutherford to Curie", "category": "radiation", "type": "standard", "teaser": "Convert Rutherford disintegrations per second into curies.", "labels": {"in1": "Rutherford", "in2": "Curie"}, "factor": 2.702702702702703e-05}, + {"slug": "rydberg-to-joules", "name": "Rydberg to Joules", "category": "energy", "type": "standard", "teaser": "Express a Rydberg energy in joules.", "labels": {"in1": "Rydberg", "in2": "Joules"}, "factor": 2.1798723611035e-18}, + {"slug": "reaumur-to-celsius", "name": "R\u00e9aumur to Celsius", "category": "temperature", "type": "standard", "teaser": "Convert R\u00e9aumur to Celsius degrees.", "labels": {"in1": "R\u00e9aumur", "in2": "Celsius"}, "factor": 1.25}, + {"slug": "romer-to-celsius", "name": "R\u00f8mer to Celsius", "category": "temperature", "type": "standard", "teaser": "Translate R\u00f8mer temperatures into Celsius.", "labels": {"in1": "R\u00f8mer", "in2": "Celsius"}, "factor": 1.9047619047619047, "offset": -14.285714285714286}, + {"slug": "scruples-to-grams", "name": "Scruples to Grams", "category": "weight", "type": "standard", "teaser": "Convert apothecary scruples into grams.", "labels": {"in1": "Scruples", "in2": "Grams"}, "factor": 1.2959782}, + {"slug": "seconds-to-days", "name": "Seconds to Days", "category": "time", "type": "standard", "teaser": "Turn seconds into days.", "labels": {"in1": "Seconds", "in2": "Days"}, "factor": 1.1574074074074073e-05}, + {"slug": "seconds-to-hours", "name": "Seconds to Hours", "category": "time", "type": "standard", "teaser": "Convert seconds into hours for scheduling.", "labels": {"in1": "Seconds", "in2": "Hours"}, "factor": 0.0002777777777777778, "hidden": true}, + {"slug": "sections-to-acres", "name": "Sections to Acres", "category": "area", "type": "standard", "teaser": "A survey section equals 640 acres.", "labels": {"in1": "Sections", "in2": "Acres"}, "factor": 640.0}, + {"slug": "sextants-to-degrees", "name": "Sextants to Degrees", "category": "angle", "type": "standard", "teaser": "One sextant spans 60 degrees.", "labels": {"in1": "Sextants", "in2": "Degrees"}, "factor": 60.0}, + {"slug": "shakes-to-nanoseconds", "name": "Shakes to Nanoseconds", "category": "time", "type": "standard", "teaser": "Express nuclear shakes as nanoseconds.", "labels": {"in1": "Shakes", "in2": "Nanoseconds"}, "factor": 10.0}, + {"slug": "short-tons-to-kilograms", "name": "Short Tons to Kilograms", "category": "weight", "type": "standard", "teaser": "Convert US short tons to kilograms.", "labels": {"in1": "Short Tons", "in2": "Kilograms"}, "factor": 907.18474}, + {"slug": "short-tons-to-long-tons", "name": "Short Tons to Long Tons", "category": "weight", "type": "standard", "teaser": "Express short tons as long tons.", "labels": {"in1": "Short Tons", "in2": "Long Tons"}, "factor": 0.892857, "hidden": true}, + {"slug": "short-tons-to-metric-tons", "name": "Short Tons to Metric Tons", "category": "weight", "type": "standard", "teaser": "Convert short tons into metric tons.", "labels": {"in1": "Short Tons", "in2": "Metric Tons"}, "factor": 0.90718474, "hidden": true}, + {"slug": "sidereal-days-to-solar-days", "name": "Sidereal days to Solar days", "category": "time", "type": "standard", "teaser": "Compare a sidereal day with a solar day.", "labels": {"in1": "Sidereal days", "in2": "Solar days"}, "factor": 0.9972695669}, ]; diff --git a/hdyc-svelte/src/routes/+layout.svelte b/hdyc-svelte/src/routes/+layout.svelte index b2b5530..08e0a0d 100644 --- a/hdyc-svelte/src/routes/+layout.svelte +++ b/hdyc-svelte/src/routes/+layout.svelte @@ -323,6 +323,16 @@ + + +