Skip to content

Commit

Permalink
updated programs
Browse files Browse the repository at this point in the history
  • Loading branch information
cba56 committed Nov 10, 2024
1 parent 716d83e commit 7241746
Show file tree
Hide file tree
Showing 10 changed files with 367 additions and 54 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified bookExamples/.DS_Store
Binary file not shown.
Binary file modified bookExamples/patterns/.DS_Store
Binary file not shown.
101 changes: 101 additions & 0 deletions bookExamples/patterns/recaman/recaman-program-test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<!DOCTYPE HTML>
<html xmlns:myData="http://www.bartneck.de" xmlns:sw="https://github.com/bartneck/swiML" xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script src="https://kit.fontawesome.com/7414123f18.js" crossorigin="anonymous"></script><meta property="og:image" content="https://bartneck.github.io/swiML/swiMLLogoGradientFacebook.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<link href="https://bartneck.github.io/swiML/swiML.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="/swiML/favicon/favicon.ico">
<link rel="icon" sizes="16x16 32x32 64x64" href="/swiML/favicon/favicon.ico">
<link rel="icon" type="image/png" sizes="196x196" href="/swiML/favicon/favicon-192.png">
<link rel="icon" type="image/png" sizes="160x160" href="/swiML/favicon/favicon-160.png">
<link rel="icon" type="image/png" sizes="96x96" href="/swiML/favicon/favicon-96.png">
<link rel="icon" type="image/png" sizes="64x64" href="/swiML/favicon/favicon-64.png">
<link rel="icon" type="image/png" sizes="32x32" href="/swiML/favicon/favicon-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/swiML/favicon/favicon-16.png">
<link rel="apple-touch-icon" href="/swiML/favicon/favicon-57.png">
<link rel="apple-touch-icon" sizes="114x114" href="/swiML/favicon/favicon-114.png">
<link rel="apple-touch-icon" sizes="72x72" href="/swiML/favicon/favicon-72.png">
<link rel="apple-touch-icon" sizes="144x144" href="/swiML/favicon/favicon-144.png">
<link rel="apple-touch-icon" sizes="60x60" href="/swiML/favicon/favicon-60.png">
<link rel="apple-touch-icon" sizes="120x120" href="/swiML/favicon/favicon-120.png">
<link rel="apple-touch-icon" sizes="76x76" href="/swiML/favicon/favicon-76.png">
<link rel="apple-touch-icon" sizes="152x152" href="/swiML/favicon/favicon-152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/swiML/favicon/favicon-180.png">
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="/swiML/favicon/favicon-144.png">
<meta name="msapplication-config" content="/swiML/favicon/browserconfig.xml">
<title>Recaman Sequence</title>
</head>
<body>
<div class="intro">
<h1>Recaman Sequence</h1>
<p class="authorName">Christoph Bartneck</p>
<p class="authorEmail"></p>
<p class="description">Swim the first 10 terms of the Recaman sequence. </p>
<ul>
<li><span class="semiBoldTypeFace">Date:</span>22 August 2024</li>
<li><span class="semiBoldTypeFace">Pool Size:</span>25</li>
<li><span class="semiBoldTypeFace">Units:</span>meters</li>
<li><span class="semiBoldTypeFace">Length:</span>3000 meters / 120 Laps</li>
</ul>
</div>
<div class="program">
<div class="firstSegmentName">Warm Up</div>
<div class="instruction"><span style="min-width:3ch" class="extraBoldTypeFaceRight">
400
</span>&nbsp;Any&nbsp;Easy</div>
<div class="segmentName">Recaman set</div>
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
1
</span>&nbsp;laps&nbsp;FR&nbsp;◔0:15</div>
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
3
</span>&nbsp;laps&nbsp;FR&nbsp;◔0:15</div>
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
6
</span>&nbsp;laps&nbsp;BK&nbsp;◔0:15</div>
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
2
</span>&nbsp;laps&nbsp;FR&nbsp;◔0:15</div>
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
7
</span>&nbsp;laps&nbsp;FR&nbsp;◔0:15</div>
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
13
</span>&nbsp;laps&nbsp;FR&nbsp;◔0:15</div>
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
20
</span>&nbsp;laps&nbsp;BK&nbsp;◔0:15</div>
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
12
</span>&nbsp;laps&nbsp;FR&nbsp;◔0:15</div>
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
21
</span>&nbsp;laps&nbsp;BK&nbsp;◔0:15</div>
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
11
</span>&nbsp;laps&nbsp;FR&nbsp;◔0:15</div>
<div class="segmentName">Warm down</div>
<div class="instruction"><span style="min-width:3ch" class="extraBoldTypeFaceRight">
200
</span>&nbsp;Any&nbsp;Easy</div>
</div>
<div class="bottom">
<div class="footnote">made with: </div>
<div class="logo"><a href="https://github.com/bartneck/swiML"><svg xmlns="http://www.w3.org/2000/svg" class="logoSvg" id="Layer_1" viewBox="0 0 1219.33 460.35">
<defs>
<style>
.cls-1 {
fill: #231f20;
}</style>
</defs>
<path class="cls-1" d="M209,360.8c0,58.3-51.7,99.55-104.5,99.55C39.6,460.35,0,419.65,0,362.45c0-14.3,12.1-26.4,26.4-26.4h39.6c18.7,0,26.4,11.55,26.4,25.85,0,6.6,5.5,12.1,12.1,12.1s12.1-5.5,12.1-12.1v-9.35c0-17.6-6.05-25.85-24.75-33.55l-22.55-9.9C41.25,297,0,279.95,0,225.5v-20.35c0-58.3,44.55-101.75,104.5-101.75,66.55,0,104.5,45.65,104.5,97.35,0,14.3-12.1,26.4-26.4,26.4h-39.6c-15.95,0-26.4-7.7-26.4-25.3,0-6.6-5.5-12.1-12.1-12.1s-12.1,5.5-12.1,12.1v7.7c0,17.05,7.7,27.5,24.2,34.65l23.1,9.9c29.15,12.65,69.3,29.15,69.3,83.6v23.1Z"/>
<path class="cls-1" d="M556.59,354.2c0,72.05-51.7,106.15-96.25,106.15-19.25,0-35.75-3.3-49.5-12.65l-7.15-4.4c-3.85-2.75-5.5-4.4-9.9-4.4-3.3,0-5.5,1.1-9.9,4.4l-6.6,4.4c-13.75,9.35-30.8,12.65-49.5,12.65-52.25,0-96.8-40.7-96.8-106.15V133.65c0-14.3,12.1-26.4,26.4-26.4h39.6c14.3,0,26.4,13.75,26.4,26.4v233.75c0,6.6,5.5,12.1,12.1,12.1s12.1-5.5,12.1-12.1V133.65c0-14.3,12.1-26.4,26.4-26.4h39.6c14.3,0,26.4,13.75,26.4,26.4v233.75c0,6.6,5.5,12.1,12.1,12.1s12.1-5.5,12.1-12.1V133.65c0-14.3,12.1-26.4,26.4-26.4h40.15c14.3,0,25.85,12.1,25.85,26.4v220.55Z"/>
<path class="cls-1" d="M672.64,58.85c0,14.3-12.1,26.4-26.4,26.4h-39.6c-14.3,0-26.4-12.1-26.4-26.4V29.15c0-14.3,12.1-26.4,26.4-26.4h39.6c14.3,0,26.4,13.75,26.4,26.4v29.7Zm0,371.25c0,14.3-12.1,26.4-26.4,26.4h-39.6c-14.3,0-26.4-12.1-26.4-26.4V133.65c0-14.3,12.1-26.4,26.4-26.4h39.6c14.3,0,26.4,13.75,26.4,26.4V430.1Z"/>
<path class="cls-1" d="M1033.99,116.05V430.1c0,14.3-12.1,26.4-26.4,26.4h-43.45c-14.3,0-26.4-13.75-26.4-26.4V105.05c0-6.6-5.5-12.1-12.1-12.1s-12.1,5.5-12.1,12.1V430.1c0,14.3-12.1,26.4-26.4,26.4h-43.45c-14.3,0-26.4-13.75-26.4-26.4V105.05c0-6.6-5.5-12.1-12.1-12.1s-12.1,5.5-12.1,12.1V430.1c0,14.3-12.1,26.4-26.4,26.4h-43.45c-14.3,0-26.4-12.1-26.4-26.4V31.35c0-17.05,13.2-31.35,32.45-31.35,6.6,0,14.3,2.75,19.25,4.95l2.75,1.1c6.05,2.2,8.8,3.85,15.95,3.85,6.05,0,14.85-2.75,22-4.95,7.15-2.2,19.25-4.95,32.45-4.95s23.1,2.75,31.9,5.5c7.15,2.2,15.4,4.4,20.35,4.4s13.2-2.2,20.35-4.4c8.8-2.75,21.45-5.5,34.65-5.5,73.7,0,105.05,43.45,105.05,116.05Z"/>
<path class="cls-1" d="M1154.43,347.6c0,7.15,4.95,12.65,12.1,12.65h26.4c14.3,0,26.4,12.1,26.4,26.4v43.45c0,14.3-12.1,26.4-26.4,26.4h-108.35c-14.3,0-26.4-12.1-26.4-26.4V29.15c0-14.3,12.1-26.4,26.4-26.4h43.45c14.3,0,26.4,12.1,26.4,26.4V347.6Z"/></svg></a></div>
</div>
</body>
</html>
172 changes: 172 additions & 0 deletions bookExamples/patterns/recaman/recaman-program-test.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
<?xml version='1.0' encoding='utf-8'?>
<program xmlns="https://github.com/bartneck/swiML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://github.com/bartneck/swiML/version/latest https://raw.githubusercontent.com/bartneck/swiML/main/version/latest/swiML.xsd">
<title>Recaman Sequence</title>
<author>
<firstName>Christoph</firstName>
<lastName>Bartneck</lastName>
</author>
<programDescription>Swim the first 10 terms of the Recaman sequence. </programDescription>
<creationDate>2024-08-22</creationDate>
<poolLength>25</poolLength>
<lengthUnit>meters</lengthUnit>
<programAlign>true</programAlign>
<numeralSystem>decimal</numeralSystem>
<hideIntro>false</hideIntro>
<instruction>
<segmentName>Warm Up</segmentName>
</instruction>
<instruction>
<length>
<lengthAsDistance>400</lengthAsDistance>
</length>
<stroke>
<standardStroke>any</standardStroke>
</stroke>
<intensity>
<startIntensity>
<zone>easy</zone>
</startIntensity>
</intensity>
<excludeAlign>false</excludeAlign>
</instruction>
<instruction>
<segmentName>Recaman set</segmentName>
</instruction>
<instruction>
<length>
<lengthAsLaps>1</lengthAsLaps>
</length>
<stroke>
<standardStroke>freestyle</standardStroke>
</stroke>
<rest>
<afterStop>PT0M15S</afterStop>
</rest>
<excludeAlign>false</excludeAlign>
</instruction>
<instruction>
<length>
<lengthAsLaps>3</lengthAsLaps>
</length>
<stroke>
<standardStroke>freestyle</standardStroke>
</stroke>
<rest>
<afterStop>PT0M15S</afterStop>
</rest>
<excludeAlign>false</excludeAlign>
</instruction>
<instruction>
<length>
<lengthAsLaps>6</lengthAsLaps>
</length>
<stroke>
<standardStroke>backstroke</standardStroke>
</stroke>
<rest>
<afterStop>PT0M15S</afterStop>
</rest>
<excludeAlign>false</excludeAlign>
</instruction>
<instruction>
<length>
<lengthAsLaps>2</lengthAsLaps>
</length>
<stroke>
<standardStroke>freestyle</standardStroke>
</stroke>
<rest>
<afterStop>PT0M15S</afterStop>
</rest>
<excludeAlign>false</excludeAlign>
</instruction>
<instruction>
<length>
<lengthAsLaps>7</lengthAsLaps>
</length>
<stroke>
<standardStroke>freestyle</standardStroke>
</stroke>
<rest>
<afterStop>PT0M15S</afterStop>
</rest>
<excludeAlign>false</excludeAlign>
</instruction>
<instruction>
<length>
<lengthAsLaps>13</lengthAsLaps>
</length>
<stroke>
<standardStroke>freestyle</standardStroke>
</stroke>
<rest>
<afterStop>PT0M15S</afterStop>
</rest>
<excludeAlign>false</excludeAlign>
</instruction>
<instruction>
<length>
<lengthAsLaps>20</lengthAsLaps>
</length>
<stroke>
<standardStroke>backstroke</standardStroke>
</stroke>
<rest>
<afterStop>PT0M15S</afterStop>
</rest>
<excludeAlign>false</excludeAlign>
</instruction>
<instruction>
<length>
<lengthAsLaps>12</lengthAsLaps>
</length>
<stroke>
<standardStroke>freestyle</standardStroke>
</stroke>
<rest>
<afterStop>PT0M15S</afterStop>
</rest>
<excludeAlign>false</excludeAlign>
</instruction>
<instruction>
<length>
<lengthAsLaps>21</lengthAsLaps>
</length>
<stroke>
<standardStroke>backstroke</standardStroke>
</stroke>
<rest>
<afterStop>PT0M15S</afterStop>
</rest>
<excludeAlign>false</excludeAlign>
</instruction>
<instruction>
<length>
<lengthAsLaps>11</lengthAsLaps>
</length>
<stroke>
<standardStroke>freestyle</standardStroke>
</stroke>
<rest>
<afterStop>PT0M15S</afterStop>
</rest>
<excludeAlign>false</excludeAlign>
</instruction>
<instruction>
<segmentName>Warm down</segmentName>
</instruction>
<instruction>
<length>
<lengthAsDistance>200</lengthAsDistance>
</length>
<stroke>
<standardStroke>any</standardStroke>
</stroke>
<intensity>
<startIntensity>
<zone>easy</zone>
</startIntensity>
</intensity>
<excludeAlign>false</excludeAlign>
</instruction>
</program>
Binary file modified bookExamples/patterns/tesselation/einstein-program.pdf
Binary file not shown.
14 changes: 7 additions & 7 deletions bookExamples/swiML-documentation/excludeAlign.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</span>&nbsp;FR</div>
<div class="segmentName">Repetitions</div>
<div class="continue">
<div class="continueLength" style="text-align:center;"><span class="extraBoldTypeFaceMarginLeft">100</span>&nbsp;as</div>
<div class="continueLength" style="min-width:ch; text-align:center"><span class="extraBoldTypeFaceMarginLeft">100</span>&nbsp;as</div>
<div class="continueSymbol">&nbsp;</div>
<div class="continueContent">
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
Expand All @@ -51,30 +51,30 @@
</div>
</div>
<div class="continue">
<div class="continueLength" style="text-align:center;"><span class="extraBoldTypeFaceMarginLeft">100</span>&nbsp;b5&nbsp;as</div>
<div class="continueLength" style="min-width:ch; text-align:center"><span class="extraBoldTypeFaceMarginLeft">100</span>&nbsp;b5&nbsp;as</div>
<div class="continueSymbol">&nbsp;</div>
<div class="continueContent">
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
50
</span>&nbsp;FR</div>
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
50
</span>&nbsp;BK</div>
</span>&nbsp;BR</div>
</div>
</div>
<div class="segmentName">Continue</div>
<div class="repetition"><span class="repetitionCount" style="text-align:center;"><span style="margin-left:auto">4&nbsp;×</span></span>&nbsp;
<div class="repetition"><span class="repetitionCount" style="min-width:ch;"><span style="margin-left:auto">4&nbsp;×</span></span>&nbsp;
<div class="repetitionContent">
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
50
</span>&nbsp;IM Order</div>
</span>&nbsp;FR</div>
</div>
</div>
<div class="repetition"><span class="repetitionCount" style="text-align:center;"><span style="margin-left:auto">4&nbsp;×</span>&nbsp;b7</span>&nbsp;
<div class="repetition"><span class="repetitionCount" style="min-width:ch;"><span style="margin-left:auto">4&nbsp;×</span>&nbsp;b7</span>&nbsp;
<div class="repetitionContent">
<div class="instruction"><span style="min-width:2ch" class="extraBoldTypeFaceRight">
50
</span>&nbsp;IM Order</div>
</span>&nbsp;FR</div>
</div>
</div>
</div>
Expand Down
Binary file modified bookExamples/swiML-documentation/excludeAlign.pdf
Binary file not shown.
14 changes: 7 additions & 7 deletions bookExamples/swiML-documentation/excludeAlign.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
</instruction>
<instruction>
<continue>
<excludeAlignContinue>true</excludeAlignContinue>
<instruction>
<length>
<lengthAsDistance>50</lengthAsDistance>
Expand All @@ -59,10 +58,10 @@
</stroke>
</instruction>
</continue>
<excludeAlign>true</excludeAlign>
</instruction>
<instruction>
<continue>
<excludeAlignContinue>true</excludeAlignContinue>
<breath>5</breath>
<instruction>
<length>
Expand All @@ -77,10 +76,11 @@
<lengthAsDistance>50</lengthAsDistance>
</length>
<stroke>
<standardStroke>backstroke</standardStroke>
<standardStroke>breaststroke</standardStroke>
</stroke>
</instruction>
</continue>
<excludeAlign>true</excludeAlign>
</instruction>

<instruction>
Expand All @@ -89,30 +89,30 @@
<instruction>
<repetition>
<repetitionCount>4</repetitionCount>
<excludeAlignRepetition>true</excludeAlignRepetition>
<instruction>
<length>
<lengthAsDistance>50</lengthAsDistance>
</length>
<stroke>
<standardStroke>individualMedleyOrder</standardStroke>
<standardStroke>freestyle</standardStroke>
</stroke>
</instruction>
</repetition>
<excludeAlign>true</excludeAlign>
</instruction>
<instruction>
<repetition>
<repetitionCount>4</repetitionCount>
<excludeAlignRepetition>true</excludeAlignRepetition>
<breath>7</breath>
<instruction>
<length>
<lengthAsDistance>50</lengthAsDistance>
</length>
<stroke>
<standardStroke>individualMedleyOrder</standardStroke>
<standardStroke>freestyle</standardStroke>
</stroke>
</instruction>
</repetition>
<excludeAlign>true</excludeAlign>
</instruction>
</program>
Loading

0 comments on commit 7241746

Please sign in to comment.