-
Notifications
You must be signed in to change notification settings - Fork 0
/
FloatTankOceanEngine.html
107 lines (95 loc) · 3.65 KB
/
FloatTankOceanEngine.html
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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8" ></meta>
<!-- reference: about html setup - https://www.w3.org/International/questions/qa-html-language-declarations -->
<title>_ _loading...</title>
<style>>How to Create an HTML File</title>
<style>
body {
background-color: black;
color: white;
width: 100%;
height: 100%;
text-align: center;
margin: 0 auto;
}
#id_t_1 {
border: 0px solid transparent;
padding: 10px 10px 10px 10px;
font-size: large;
}
</style>
</head>
<body>
<h1>Welcome!</h1>
<div id="id_div_1" >
<textarea id="id_t_1" >
Inventor: Richard Isaac Craddock
Date: 12/28/2022 (December 28, 2022)
I just invented clean, free, efficient energy for the entire globe.
Air-tite, ship-large tanks, filled with patroleom aerated foam (or other floating material).
Pipe down into the ocean, empty pipe inserted, open at the top, "L-shaped" at the bottom; door at the "L-shape" at the bottom
The force of the tanks falling push a gear that opens the door.
A pump to the top of the ocean empties a tank compartement.
The gear pushed (run; operated) by the tanks floating to the top of the ocean, pushes the next tank into the L and up into the water-tight compartment; the bottom of the tank is then closed by a door (operated, once again, by the gear pushed/run/operated by the tanks floating to the top of the ocean); then, a door on the side of the tank is opened, allowing water into the tank, underneath the hollow, affixed-to-tank, platform of the tank, thereby pushing the tank upward toward the top of the ocean.
How to insert the pipe to the bottom of the ocean.
Pipe (the main pipe), open at the bottom; open at the top; large enough (length, width) to hold (to house, to encompass vertically) a tank (an air-tight, engine-component, extremely large (ship-size) tank); insert into the ocean. Slot at the bottom (half a cirle slot opening in the side of the pipe); insert metal circle slab into slot; seal the slab into the pipe; pump out the water from the pipe.
Water-filled tank in pipe; when pipe fully inserted and slab sealed, then a hose to the bottom of the ocean, to the water-tank, pumps the water out of the tank, filling the tank with air; a very small, empty pipe to the bottom of the ocean, inside of the main pipe.
</textarea>
</div>
<script>
//references - https://threejs.org/docs/index.html#manual/en/introduction/Creating-a-scene
function f_onload_1() {
//code...
//alert("Hello, world!");
f_title();
f_window_size();
return null;
}
f_onload_1();
function f_window_size() {
var a = window.innerWidth;
var b = window.innerHeight;
//print(a);
//alert(typeof a);
var t_1 = typeof a;
//t_1 = t_1.toUpperCase();
//alert(t_1);
t_1 = t_1.toLowerCase();
//alert(t_1);
if(t_1 != "number") {
alert("Message from this website:\n\nThere is a JavaScript error on the page.");
return false;
}
if(t_1 == "number") {
//alert(true);
}
//alert("1");
a = (a * .95)
b = (b * .85)
var a_adjusted = (a - 25);//adjusted for padding for textarea, for text data.
var a_2 = "";
a_2 = a.toString();
a_2 = a + "px";
var a_2_adjusted = "";
a_2_adjusted = a_adjusted + "px";
el_1 = document.getElementById("id_div_1");
el_2 = document.getElementById("id_t_1");
el_1.style.width = a_2;
el_2.style.width = a_2_adjusted;
var b_adjusted = (b - 30);//adjusted for padding for textarea, for text data.
var b_2_adjusted = b_adjusted.toString();
b_2_adjusted = b_2_adjusted + "px";
el_2.style.height = b_2_adjusted;
var b_2 = b.toString();
b_2 = b_2 + "px";
el_1.style.height = b_2;
}
function f_title() {
var t = "Float-Tank Ocean Engine";
document.title = t;
}
</script>
</body>
</html>