Spaces:
Sleeping
Sleeping
charlesnchr
commited on
Commit
•
f6173bc
1
Parent(s):
1922800
Renaming
Browse files
app.py
CHANGED
@@ -146,7 +146,11 @@ st.markdown("Charles N. Christensen, ONI — 2023/06/14")
|
|
146 |
|
147 |
|
148 |
tabs = st.tabs(
|
149 |
-
[
|
|
|
|
|
|
|
|
|
150 |
)
|
151 |
|
152 |
|
@@ -220,22 +224,26 @@ with tabs[1]:
|
|
220 |
cols = st.columns(2)
|
221 |
# streamlit number input for padding
|
222 |
with cols[0]:
|
223 |
-
x_padding = st.number_input(
|
|
|
|
|
224 |
with cols[1]:
|
225 |
-
y_padding = st.number_input(
|
|
|
|
|
226 |
|
227 |
# streamlit number input for global offset
|
228 |
cols = st.columns(2)
|
229 |
with cols[0]:
|
230 |
x_offset_img = st.number_input(
|
231 |
-
"
|
232 |
min_value=0,
|
233 |
max_value=30,
|
234 |
value=10,
|
235 |
)
|
236 |
with cols[1]:
|
237 |
y_offset_img = st.number_input(
|
238 |
-
"
|
239 |
min_value=0,
|
240 |
max_value=30,
|
241 |
value=20,
|
@@ -309,13 +317,13 @@ with tabs[2]:
|
|
309 |
|
310 |
# streamlit number input for global offset
|
311 |
x_offset = st.number_input(
|
312 |
-
"
|
313 |
min_value=0,
|
314 |
max_value=30,
|
315 |
value=10,
|
316 |
)
|
317 |
y_offset = st.number_input(
|
318 |
-
"
|
319 |
min_value=0,
|
320 |
max_value=30,
|
321 |
value=20,
|
|
|
146 |
|
147 |
|
148 |
tabs = st.tabs(
|
149 |
+
[
|
150 |
+
"Basic rendering",
|
151 |
+
"Pregenerated pattern with padding",
|
152 |
+
"Manual pattern definition",
|
153 |
+
]
|
154 |
)
|
155 |
|
156 |
|
|
|
224 |
cols = st.columns(2)
|
225 |
# streamlit number input for padding
|
226 |
with cols[0]:
|
227 |
+
x_padding = st.number_input(
|
228 |
+
"Vertical padding", min_value=0, max_value=10, value=0
|
229 |
+
)
|
230 |
with cols[1]:
|
231 |
+
y_padding = st.number_input(
|
232 |
+
"Horizontal padding", min_value=0, max_value=10, value=0
|
233 |
+
)
|
234 |
|
235 |
# streamlit number input for global offset
|
236 |
cols = st.columns(2)
|
237 |
with cols[0]:
|
238 |
x_offset_img = st.number_input(
|
239 |
+
"Vertical image offset (change to test near edges of DMD)",
|
240 |
min_value=0,
|
241 |
max_value=30,
|
242 |
value=10,
|
243 |
)
|
244 |
with cols[1]:
|
245 |
y_offset_img = st.number_input(
|
246 |
+
"Horizontal image offset (change to test near edges of DMD)",
|
247 |
min_value=0,
|
248 |
max_value=30,
|
249 |
value=20,
|
|
|
317 |
|
318 |
# streamlit number input for global offset
|
319 |
x_offset = st.number_input(
|
320 |
+
"Vertical global offset (change to test near edges of DMD)",
|
321 |
min_value=0,
|
322 |
max_value=30,
|
323 |
value=10,
|
324 |
)
|
325 |
y_offset = st.number_input(
|
326 |
+
"Horizontal global offset (change to test near edges of DMD)",
|
327 |
min_value=0,
|
328 |
max_value=30,
|
329 |
value=20,
|