Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
134 lines (123 loc) · 5.81 KB
/
Copy pathindex.html
File metadata and controls
134 lines (123 loc) · 5.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>VR Plotter</title>
<link rel="icon" href="favicon.png" type="image/png"/>
<link rel="stylesheet" href="vendor/bootstrap-4.0.0/bootstrap.min.css">
<script src="vendor/jquery-3.2.1-slim/jquery-3.2.1.slim.min.js"></script>
<script src="vendor/popper-1.12.9/popper.min.js"></script>
<script src="vendor/bootstrap-4.0.0/bootstrap.min.js"></script>
<style media="screen">
.nav-itmem {
color: white;
}
#coolbutton
{
border: none;
background: #6772e5;
font-family: ls-medium, ls-bold, Helvetica, sans-serif;
color: #FFF;
letter-spacing: 0.4px;
font-size: 14.5px;
font-weight: normal !important;
padding: 13px 20px;
min-width: 112px;
display: inline-block;
width: 20%;
margin-left: 37.5%;
text-align: center;
margin-top: 40px;
cursor: pointer;
box-shadow: 0 5px 15px 0 rgba(0,0,0,0.15);
border-radius: 5px;
transition:All 0.1s ease-in-out;
-webkit-transition:All 0.1s ease-in-out;
-moz-transition:All 0.1s ease-in-out;
-o-transition:All 0.1s ease-in-out;
text-decoration: none;
}
#coolbutton:hover
{
background: #4a54b8;
box-shadow: 0 5px 15px 0 rgba(0,0,0,0.2);
}
</style>
<nav class="navbar navbar-expand-lg navbar-light bg-dark">
<a class="navbar-brand" href="http://www.daanyaalsobani.com" style="color:white">Daanyaal Sobani</a>
</nav>
</head>
<body >
<div class="container-fluid text-center">
<img class= "img-fluid " src="sin.png" alt="" style= "max-width:80%;height:auto">
</div>
<div class="container text-center" >
<hr style = "border-width:4px; border-color:black">
<h1>
3D Plotter by Daanyaal Sobani
</h1>
<form action="plot.php" method="get">
<div class="form-group" action="props.php" method="get">
<label for="formGroupExampleInput">Enter your function bellow and DO NOT INCLUDE z or =</label>
<input type="text" class="form-control" name="exp" value="">
</div>
<button type="submit" class="btn btn-primary">PLOT</button>
</form>
<p>
Make sure to enter your expresion in the form z = f(x,y); <br>
In order to use functions like sin(x) or e <sup> x </sup> use <br>
Math.sin(x) or Math.exp(x) for example (case sensitive).<br>
<bold> Use W S A D to navigate and drag the mouse to change direction. </bold>
</p>
<h1>
Examples:
</h1>
<ul class="list-inline">
<li class="list-inline-item">
<div class="card" style="width: 18rem;">
<img class="card-img-top" src="exp.png" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Guassian Distribution</h5>
<p class="card-text">Input to plotter: <br>
3*Math.exp(-Math.pow(x,2)-Math.pow(y,2)) </p>
<a href="plot.php?exp=3*Math.exp%28-Math.pow%28x%2C2%29-Math.pow%28y%2C2%29%29" class="btn btn-primary">
Plot</a>
</div>
</div>
</li>
<li class="list-inline-item">
<div class="card" style="width: 18rem;">
<img class="card-img-top" src="hyp.png" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Parabolic Bowel</h5>
<p class="card-text">Input to plotter: <br>
Math.pow(x,2) + Math.pow(y,2)</p>
<a href="plot.php?exp=Math.pow%28x%2C2%29+%2B+Math.pow%28y%2C2%29" class="btn btn-primary">Plot</a>
</div>
</div>
</li>
<li class="list-inline-item">
<div class="card" style="width: 18rem;">
<img class="card-img-top" src="sinpluscos.png" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Sin(x) + Cos(y)</h5>
<p class="card-text">Input to Plotter: <br>
Math.sin(x)+Math.cos(y) </p>
<a href="plot.php?exp=Math.sin%28x%29%2BMath.cos%28y%29" class="btn btn-primary">Plot</a>
</div>
</div>
</li>
</ul>
</div>
<div class="container-fluid text-center"id="" style="padding:75px;margin-top:125px; background:#01052A">
<h1 style="color:white;">Any questions?</h1>
<h2 style="color:white;">Feel free to email me at daanyaal.sobani@gmail.com <br>
or go to the <a href="https://github.com/DaanyaalSobani/VR-Plotter"> github </a> for documentation</h2>
</div>
<footer style="background:black; margin-bottom:0px">
<p style="margin:0px; color:black">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</footer>
</html>