Skip to content

Commit

Permalink
Merge pull request #85 from nihalsaran/main
Browse files Browse the repository at this point in the history
Test Capital P
  • Loading branch information
ishantdei authored Oct 27, 2024
2 parents 8db8438 + 456a733 commit 3de2832
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 14 deletions.
Binary file added experiment/simulation/LettersPage/CapP/P-new.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 15 additions & 14 deletions experiment/simulation/LettersPage/CapP/P.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ body {

display: none;
position: absolute;
top: 70px;
left: 116px;
top: 65px;
left: 86px;
width: 15px;
height: 285px;
height: 335px;


}
Expand All @@ -60,10 +60,10 @@ body {

display: none;
position: absolute;
top: 70px;
left: 120px;
width: 175px;
height: 136px;
top: 64px;
left: 88px;
width: 231px;
height: 166px;

}

Expand All @@ -82,26 +82,27 @@ body {

#sbox {
position: relative;
left: 85px;
left: 115px;
width: 400px;
height: 400px;
z-index: -10;
z-index: -2;
display: none;
}

#trace {
position: relative;
top: 12px;
right: 192px;
width: 300px;
height: 290px;
bottom: 15px;
right: 93px;
width: 600px;
height: 450px;
z-index: -10;
}

.arrrow1 {

position: absolute;
top: 80px;
left: 80px;
left: 30px;
width: 40px;
height: 240px;
transform: rotate(180deg);
Expand Down
65 changes: 65 additions & 0 deletions experiment/simulation/LettersPage/CapP/P.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&amp;family=Raleway&amp;display=swap"
rel="stylesheet" />
<link rel="icon" href="images/favicon.ico" />
<link rel="stylesheet" href="/experiment/simulation/css/header.css" />

<link rel="stylesheet" href="P.css" />


<title>Virtual Labs</title>
</head>

<body>


<div class="simulation-container">

<h2 class="title">Lettering</h2>
<h3 class="instruction-main"> Letter P</h3>

<h1 class="rules">Rules-</h1>
<p class="rule">1] Draw the line in the direction of the arrow on the trace of the letter.</p>
<p class="rule">2] To draw, click on the starting point and drag the cursor to end point .</p>







<div id="canvas-container">
<canvas id="canvas" width="400" height="400"></canvas>
<div class="dot" id="dot3" style="top: 70px; left: 93px;"></div>
<div class="dot" id="dot1" style="top: 391px; left: 93px;"></div>
<div class="dot" id="dot2" style="top: 218px; left: 93px;"></div>


<img id="sbox" src="sboxx.png">
<img id="trace" src="P-new.png">
<img class="arrrow1" id="arrow1" src="without-bg.gif" alt="Overlay Image">
<img class="arrrow2" id="arrow2" src="curved arrow.gif" alt="Overlay Image">
<img class="arrrow3" id="arrow3" src="without-bg.gif" alt="Overlay Image">
<img id="stroke1" src="stroke1.png">
<img id="stroke2" src="stroke2.png">
<img id="stroke3" src="stroke1.png">
</div>
<h1 class="congrats" id="congrats">Congrats you have learnt to draw Letter P</h1>

<a href="../../Uppercase.html">
<button class="next-exp" id="button">Next Letter</button>
</a>

</div>
<!-- Your code goes here-->

<!-- Add JS at the bottom of HTML file -->
<script src="P.js"></script>
</body>

</html>

0 comments on commit 3de2832

Please sign in to comment.