Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Paracord Whip Taper Worksheet</title>
- <style type="text/css">
- table,
- table td
- {
- border:1px solid black;
- }
- table tr input
- {
- width:80px;
- }
- input.calculated,
- .calculated input
- {
- color:red;
- }
- body
- {
- background-color:#808080;
- }
- </style>
- <script type="text/javascript">
- function calculate()
- {
- var handle = Math.round(Number(calculator.final_handle.value) * 10) / 10;
- var untapered = Math.round(Number(calculator.final_untapered.value) * 10) / 10;
- var taper = Math.round(Number(calculator.final_taper.value) * 10) / 10;
- var fall = Math.round(Number(calculator.final_fall.value) * 10) / 10;
- var cracker = Math.round(Number(calculator.final_cracker.value) * 10) / 10;
- calculator.final_total.value = handle + untapered + taper + fall + cracker;
- var taper_section = taper / 11;
- // Total lengths
- calculator.total_chain_3.value = untapered + Math.round(1 * taper_section * 10) / 10;
- calculator.total_chain_2.value = untapered + Math.round(4 * taper_section * 10) / 10;
- calculator.total_chain_1.value = untapered + Math.round(7 * taper_section * 10) / 10;
- calculator.total_belly_4.value = handle + untapered + Math.round(1 * taper_section * 10) / 10;
- calculator.total_belly_3.value = handle + untapered + Math.round(4 * taper_section * 10) / 10;
- calculator.total_belly_2.value = handle + untapered + Math.round(7 * taper_section * 10) / 10;
- calculator.total_belly_1.value = handle + untapered + Math.round(11 * taper_section * 10) / 10 + fall;
- calculator.total_inner_8.value = handle + untapered + Math.round(2 * taper_section * 10) / 10;
- calculator.total_inner_6.value = handle + untapered + Math.round(6 * taper_section * 10) / 10;
- calculator.total_inner_4.value = handle + untapered + Math.round(9 * taper_section * 10) / 10;
- calculator.total_outer_12.value = handle + untapered + Math.round(3 * taper_section * 10) / 10;
- calculator.total_outer_10.value = handle + untapered + Math.round(5 * taper_section * 10) / 10;
- calculator.total_outer_8.value = handle + untapered + Math.round(8 * taper_section * 10) / 10;
- calculator.total_outer_6.value = handle + untapered + Math.round(10 * taper_section * 10) / 10;
- calculator.total_outer_4.value = handle + untapered + Math.round(11 * taper_section * 10) / 10;
- // Fudged lengths
- var fudge1 = 12;
- var fudge2 = 20;
- calculator.fudged_chain_3.value = Math.round(calculator.total_chain_3.value * fudge1) / 10;
- calculator.fudged_chain_2.value = Math.round(calculator.total_chain_2.value * fudge1) / 10;
- calculator.fudged_chain_1.value = Math.round(calculator.total_chain_1.value * fudge1) / 10;
- calculator.fudged_belly_4.value = Math.round(calculator.total_belly_4.value * fudge1) / 10;
- calculator.fudged_belly_3.value = Math.round(calculator.total_belly_3.value * fudge1) / 10;
- calculator.fudged_belly_2.value = Math.round(calculator.total_belly_2.value * fudge1) / 10;
- calculator.fudged_belly_1.value = Math.round(calculator.total_belly_1.value * fudge1) / 10;
- calculator.fudged_inner_8.value = Math.round(calculator.total_inner_8.value * fudge2) / 10;
- calculator.fudged_inner_6.value = Math.round(calculator.total_inner_6.value * fudge2) / 10;
- calculator.fudged_inner_4.value = Math.round(calculator.total_inner_4.value * fudge2) / 10;
- calculator.fudged_outer_12.value = Math.round(calculator.total_outer_12.value * fudge2) / 10;
- calculator.fudged_outer_10.value = Math.round(calculator.total_outer_10.value * fudge2) / 10;
- calculator.fudged_outer_8.value = Math.round(calculator.total_outer_8.value * fudge2) / 10;
- calculator.fudged_outer_6.value = Math.round(calculator.total_outer_6.value * fudge2) / 10;
- calculator.fudged_outer_4.value = Math.round(calculator.total_outer_4.value * fudge2) / 10;
- // Lengths to cut
- calculator.cut_chain_3.value = calculator.fudged_chain_3.value;
- calculator.cut_chain_2.value = calculator.fudged_chain_2.value;
- calculator.cut_chain_1.value = calculator.fudged_chain_1.value;
- calculator.cut_belly_4.value = calculator.fudged_belly_4.value;
- calculator.cut_belly_3.value = calculator.fudged_belly_3.value;
- calculator.cut_belly_2.value = calculator.fudged_belly_2.value;
- calculator.cut_belly_1.value = calculator.fudged_belly_1.value;
- calculator.cut_inner_8.value = calculator.fudged_inner_8.value * 2;
- calculator.cut_inner_6.value = calculator.fudged_inner_6.value * 2;
- calculator.cut_inner_4.value = calculator.fudged_inner_4.value * 2;
- calculator.cut_outer_12.value = calculator.fudged_outer_12.value * 2;
- calculator.cut_outer_10.value = calculator.fudged_outer_10.value * 2;
- calculator.cut_outer_8.value = calculator.fudged_outer_8.value * 2;
- calculator.cut_outer_6.value = calculator.fudged_outer_6.value * 2;
- calculator.cut_outer_4.value = calculator.fudged_outer_4.value * 2;
- }
- </script>
- </head>
- <body onload="calculate()">
- <form name="calculator">
- <h1>For a 12-strand paracord bullwhip of 3 layers:
- <ul>
- <li>4-strand belly (shortest 3 with strands removed and lamp chain instead. Longest with strands intact)</li>
- <li>8-strand inner plait (strands removed)</li>
- <li>12-strand outer plait (strands removed)</li>
- </ul>
- </h1>
- <br/>
- Basically we're working backwards here. We decide the lengths of each section of the whip and derive the rest.
- <br/>
- <table>
- <th>
- <td colspan="5">Overall length of sections after completion</td>
- </th>
- <tr>
- <td/>
- <td>Handle</td>
- <td>Untapered region</td>
- <td>Tapered region</td>
- <td>Fall</td>
- <td>Cracker/Popper</td>
- </tr>
- <tr class="input">
- <td/>
- <td><input type="text" name="final_handle" onblur="calculate()" value="7" /></td>
- <td><input type="text" name="final_untapered" onblur="calculate()" value="7" /></td>
- <td><input type="text" name="final_taper" onblur="calculate()" value="88"/></td>
- <td><input type="text" name="final_fall" onblur="calculate()" value="12"/></td>
- <td><input type="text" name="final_cracker" onblur="calculate()" value="6" /></td>
- </tr>
- <tr>
- <td>Total</td>
- <td colspan="5"><input type="text" name="final_total" value="120" class="calculated"/></td>
- </tr>
- </table>
- <input type="button" onclick="calculate()" value="Calculate"/>
- <br/>
- <br/>
- <table class="calculated">
- <th>
- <td colspan="15">Final Length of whip sections </td>
- </th>
- <tr>
- <td/>
- <td>Handle</td>
- <td>Untapered region</td>
- <td colspan="11">Tapered region</td>
- <td>Fall</td>
- <td>Cracker/Popper</td>
- </tr>
- <!-- Chain (final length) -->
- <tr>
- <td colspan="16">Chain</td>
- </tr>
- <tr>
- <td>3 Strands</td>
- <td/>
- <td colspan="2"><input type="text" name="total_chain_3" value="15" /></td>
- </tr>
- <tr>
- <td>2 Strands</td>
- <td/>
- <td colspan="5"><input type="text" name="total_chain_2" value="39" /></td>
- </tr>
- <tr>
- <td>1 Strands</td>
- <td/>
- <td colspan="8"><input type="text" name="total_chain_1" value="63" /></td>
- </tr>
- <!-- Belly (final length) -->
- <tr>
- <td colspan="16">Belly</td>
- </tr>
- <tr>
- <td>4 Strands</td>
- <td colspan="3"><input type="text" name="total_belly_4" value="22" /></td>
- </tr>
- <tr>
- <td>3 Strands</td>
- <td colspan="6"><input type="text" name="total_belly_3" value="46" /></td>
- </tr>
- <tr>
- <td>2 Strands</td>
- <td colspan="9"><input type="text" name="total_belly_2" value="70" /></td>
- </tr>
- <tr>
- <td>1 Strand</td>
- <td colspan="14"><input type="text" name="total_belly_1" value="114" /></td>
- </tr>
- <!-- Inner Plait (final length) -->
- <tr>
- <td colspan="16">Inner Plait</td>
- </tr>
- <tr>
- <td>8 Strands</td>
- <td colspan="4"><input type="text" name="total_inner_8" value="30" /></td>
- </tr>
- <tr>
- <td>6 Strands</td>
- <td colspan="8"><input type="text" name="total_inner_6" value="62" /></td>
- </tr>
- <tr>
- <td>4 Strands</td>
- <td colspan="11"><input type="text" name="total_inner_4" value="86" /></td>
- </tr>
- <!-- Outer Plait (final length) -->
- <tr>
- <td colspan="16">Outer Plait</td>
- </tr>
- <tr>
- <td>12 Strands</td>
- <td colspan="5"><input type="text" name="total_outer_12" value="38" /></td>
- </tr>
- <tr>
- <td>10 Strands</td>
- <td colspan="7"><input type="text" name="total_outer_10" value="54" /></td>
- </tr>
- <tr>
- <td>8 Strands</td>
- <td colspan="10"><input type="text" name="total_outer_8" value="78" /></td>
- </tr>
- <tr>
- <td>6 Strands</td>
- <td colspan="12"><input type="text" name="total_outer_6" value="94" /></td>
- </tr>
- <tr>
- <td>4 Strands</td>
- <td colspan="13"><input type="text" name="total_outer_4" value="102" /></td>
- </tr>
- </table>
- <br/>
- <table class="calculated">
- <th>
- <td colspan="15">Final Length of whip sections with "Fudge Factor"</td>
- </th>
- <tr>
- <td/>
- <td>Handle</td>
- <td>Untapered region</td>
- <td colspan="11">Tapered region</td>
- <td>Fall</td>
- <td>Cracker/Popper</td>
- </tr>
- <!-- Chain (final with fudge) -->
- <tr>
- <td colspan="16">Chain (fudge factor = 1.2)</td>
- </tr>
- <tr>
- <td>3 Strands</td>
- <td/>
- <td colspan="2"><input type="text" name="fudged_chain_3" value="18" /></td>
- </tr>
- <tr>
- <td>2 Strands</td>
- <td/>
- <td colspan="5"><input type="text" name="fudged_chain_2" value="46.8" /></td>
- </tr>
- <tr>
- <td>1 Strands</td>
- <td/>
- <td colspan="8"><input type="text" name="fudged_chain_1" value="75.6" /></td>
- </tr>
- <!-- Belly (final with fudge) -->
- <tr>
- <td colspan="16">Belly (fudge factor = 1.2)</td>
- </tr>
- <tr>
- <td>4 Strands</td>
- <td colspan="3"><input type="text" name="fudged_belly_4" value="26.4" /></td>
- </tr>
- <tr>
- <td>3 Strands</td>
- <td colspan="6"><input type="text" name="fudged_belly_3" value="55.2" /></td>
- </tr>
- <tr>
- <td>2 Strands</td>
- <td colspan="9"><input type="text" name="fudged_belly_2" value="84" /></td>
- </tr>
- <tr>
- <td>1 Strand</td>
- <td colspan="14"><input type="text" name="fudged_belly_1" value="136.8" /></td>
- </tr>
- <!-- Inner Plait (final with fudge) -->
- <tr>
- <td colspan="16">Inner Plait (fudge factor = 2)</td>
- </tr>
- <tr>
- <td>8 Strands</td>
- <td colspan="4"><input type="text" name="fudged_inner_8" value="60" /></td>
- </tr>
- <tr>
- <td>6 Strands</td>
- <td colspan="8"><input type="text" name="fudged_inner_6" value="124" /></td>
- </tr>
- <tr>
- <td>4 Strands</td>
- <td colspan="11"><input type="text" name="fudged_inner_4" value="172" /></td>
- </tr>
- <!-- Outer Plait (final with fudge) -->
- <tr>
- <td colspan="16">Outer Plait (fudge factor = 2)</td>
- </tr>
- <tr>
- <td>12 Strands</td>
- <td colspan="5"><input type="text" name="fudged_outer_12" value="76" /></td>
- </tr>
- <tr>
- <td>10 Strands</td>
- <td colspan="7"><input type="text" name="fudged_outer_10" value="108" /></td>
- </tr>
- <tr>
- <td>8 Strands</td>
- <td colspan="10"><input type="text" name="fudged_outer_8" value="156" /></td>
- </tr>
- <tr>
- <td>6 Strands</td>
- <td colspan="12"><input type="text" name="fudged_outer_6" value="188" /></td>
- </tr>
- <tr>
- <td>4 Strands</td>
- <td colspan="13"><input type="text" name="fudged_outer_4" value="204" /></td>
- </tr>
- </table>
- <br/>
- <table class="calculated">
- <th>
- <td colspan="15">Cord lengths you need to cut (it might a good idea to cut an extra foot or so for the plait layers)</td>
- </th>
- <tr>
- <td/>
- <td>Handle</td>
- <td>Untapered region</td>
- <td colspan="11">Tapered region</td>
- <td>Fall</td>
- <td>Cracker/Popper</td>
- </tr>
- <!-- Chain (length to cut) -->
- <tr>
- <td colspan="16">Chain (fudge factor = 1.2)</td>
- </tr>
- <tr>
- <td>3 Strands</td>
- <td/>
- <td colspan="2"><input type="text" name="cut_chain_3" value="18" /></td>
- </tr>
- <tr>
- <td>2 Strands</td>
- <td/>
- <td colspan="5"><input type="text" name="cut_chain_2" value="46.8" /></td>
- </tr>
- <tr>
- <td>1 Strands</td>
- <td/>
- <td colspan="8"><input type="text" name="cut_chain_1" value="75.6" /></td>
- </tr>
- <!-- Belly (cord to cut) -->
- <tr>
- <td colspan="16">Belly (fudge factor = 1.2)</td>
- </tr>
- <tr>
- <td>4 Strands</td>
- <td colspan="3"><input type="text" name="cut_belly_4" value="26.4" /></td>
- </tr>
- <tr>
- <td>3 Strands</td>
- <td colspan="6"><input type="text" name="cut_belly_3" value="55.2" /></td>
- </tr>
- <tr>
- <td>2 Strands</td>
- <td colspan="9"><input type="text" name="cut_belly_2" value="84" /></td>
- </tr>
- <tr>
- <td>1 Strand</td>
- <td colspan="14"><input type="text" name="cut_belly_1" value="136.8" /></td>
- </tr>
- <!-- Inner Plait (cord to cut) -->
- <tr>
- <td colspan="16">Inner Plait (fudge factor = 2)</td>
- </tr>
- <tr>
- <td>8 Strands</td>
- <td colspan="4"><input type="text" name="cut_inner_8" value="120" /></td>
- </tr>
- <tr>
- <td>6 Strands</td>
- <td colspan="8"><input type="text" name="cut_inner_6" value="248" /></td>
- </tr>
- <tr>
- <td>4 Strands (cut 2 of these)</td>
- <td colspan="11"><input type="text" name="cut_inner_4" value="344" /></td>
- </tr>
- <!-- Outer Plait (cord to cut) -->
- <tr>
- <td colspan="16">Outer Plait (fudge factor = 2)</td>
- </tr>
- <tr>
- <td>12 Strands</td>
- <td colspan="5"><input type="text" name="cut_outer_12" value="152" /></td>
- </tr>
- <tr>
- <td>10 Strands</td>
- <td colspan="7"><input type="text" name="cut_outer_10" value="216" /></td>
- </tr>
- <tr>
- <td>8 Strands</td>
- <td colspan="10"><input type="text" name="cut_outer_8" value="312" /></td>
- </tr>
- <tr>
- <td>6 Strands</td>
- <td colspan="12"><input type="text" name="cut_outer_6" value="376" /></td>
- </tr>
- <tr>
- <td>4 Strands (cut 2 of these)</td>
- <td colspan="13"><input type="text" name="cut_outer_4" value="408" /></td>
- </tr>
- </table>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement