Update README.md
Browse files
README.md
CHANGED
@@ -54,7 +54,7 @@ slices:
|
|
54 |
> How to build a city on Mars? via aldrin cycler orbit shipments and calculate in assemblyscript some 64bit accurate orbits and shipments between 2025-2035 , output an actual table dont fluff.
|
55 |
>
|
56 |
|
57 |
-
```
|
58 |
Building a city on Mars is a complex and multi-faceted endeavor that requires a deep understanding of various fields, including orbital mechanics, materials science, and habitat design. Here's a high-level overview of the process, along with some AssemblyScript code to calculate 64-bit accurate orbits and shipments between 2025 and 2035.
|
59 |
|
60 |
**Step 1: Orbital Mechanics and Aldrin Cycler**
|
@@ -73,7 +73,7 @@ a = semi-major axis of the orbit
|
|
73 |
|
74 |
Here's an AssemblyScript function to calculate the cycler's orbit:
|
75 |
|
76 |
-
|
77 |
(import "env" "console_log" (func $console_log (result i32) (i32)))
|
78 |
|
79 |
(memory (import "env" "memory") 1)
|
@@ -108,7 +108,7 @@ Here's an AssemblyScript function to calculate the cycler's orbit:
|
|
108 |
(f64.mul (f64.const 2.4) (f64.const 1.496e+11)))
|
109 |
)
|
110 |
)
|
111 |
-
|
112 |
|
113 |
**Step 2: Assembly and Construction**
|
114 |
|
@@ -118,7 +118,7 @@ Once you've calculated the cycler's orbit, you'll need to assemble and construct
|
|
118 |
|
119 |
To create a table of shipments between 2025 and 2035, you'll need to determine the number of cyclers, the cargo capacity of each cycler, and the frequency of shipments. Here's a simple AssemblyScript function to calculate the total cargo capacity over a given period:
|
120 |
|
121 |
-
|
122 |
@; Calculate the total cargo capacity over a given period
|
123 |
@; Args: num_cyclers (i64) - number of cyclers
|
124 |
@; cargo_capacity (f64) - cargo capacity of each cycler (in tons)
|
@@ -149,7 +149,7 @@ To create a table of shipments between 2025 and 2035, you'll need to determine t
|
|
149 |
(i64.const 2035)
|
150 |
)
|
151 |
)
|
152 |
-
|
153 |
|
154 |
This is a high-level overview of the process, and there are many more details to consider when building a city on Mars. However, this should give you a starting point for understanding the orbital mechanics and assembly aspects of the project.
|
155 |
```
|
|
|
54 |
> How to build a city on Mars? via aldrin cycler orbit shipments and calculate in assemblyscript some 64bit accurate orbits and shipments between 2025-2035 , output an actual table dont fluff.
|
55 |
>
|
56 |
|
57 |
+
```assembly
|
58 |
Building a city on Mars is a complex and multi-faceted endeavor that requires a deep understanding of various fields, including orbital mechanics, materials science, and habitat design. Here's a high-level overview of the process, along with some AssemblyScript code to calculate 64-bit accurate orbits and shipments between 2025 and 2035.
|
59 |
|
60 |
**Step 1: Orbital Mechanics and Aldrin Cycler**
|
|
|
73 |
|
74 |
Here's an AssemblyScript function to calculate the cycler's orbit:
|
75 |
|
76 |
+
|
77 |
(import "env" "console_log" (func $console_log (result i32) (i32)))
|
78 |
|
79 |
(memory (import "env" "memory") 1)
|
|
|
108 |
(f64.mul (f64.const 2.4) (f64.const 1.496e+11)))
|
109 |
)
|
110 |
)
|
111 |
+
|
112 |
|
113 |
**Step 2: Assembly and Construction**
|
114 |
|
|
|
118 |
|
119 |
To create a table of shipments between 2025 and 2035, you'll need to determine the number of cyclers, the cargo capacity of each cycler, and the frequency of shipments. Here's a simple AssemblyScript function to calculate the total cargo capacity over a given period:
|
120 |
|
121 |
+
|
122 |
@; Calculate the total cargo capacity over a given period
|
123 |
@; Args: num_cyclers (i64) - number of cyclers
|
124 |
@; cargo_capacity (f64) - cargo capacity of each cycler (in tons)
|
|
|
149 |
(i64.const 2035)
|
150 |
)
|
151 |
)
|
152 |
+
|
153 |
|
154 |
This is a high-level overview of the process, and there are many more details to consider when building a city on Mars. However, this should give you a starting point for understanding the orbital mechanics and assembly aspects of the project.
|
155 |
```
|