|
16 | 16 | "id": "94b5ef80", |
17 | 17 | "metadata": { |
18 | 18 | "execution": { |
19 | | - "iopub.execute_input": "2025-05-06T11:09:12.363669Z", |
20 | | - "iopub.status.busy": "2025-05-06T11:09:12.363256Z", |
21 | | - "iopub.status.idle": "2025-05-06T11:09:12.785727Z", |
22 | | - "shell.execute_reply": "2025-05-06T11:09:12.785241Z" |
| 19 | + "iopub.execute_input": "2025-05-06T12:53:56.722433Z", |
| 20 | + "iopub.status.busy": "2025-05-06T12:53:56.722333Z", |
| 21 | + "iopub.status.idle": "2025-05-06T12:53:57.143081Z", |
| 22 | + "shell.execute_reply": "2025-05-06T12:53:57.142695Z" |
23 | 23 | }, |
24 | 24 | "vscode": { |
25 | 25 | "languageId": "plaintext" |
|
51 | 51 | "id": "1ee080d3", |
52 | 52 | "metadata": { |
53 | 53 | "execution": { |
54 | | - "iopub.execute_input": "2025-05-06T11:09:12.787635Z", |
55 | | - "iopub.status.busy": "2025-05-06T11:09:12.787464Z", |
56 | | - "iopub.status.idle": "2025-05-06T11:09:12.910468Z", |
57 | | - "shell.execute_reply": "2025-05-06T11:09:12.910032Z" |
| 54 | + "iopub.execute_input": "2025-05-06T12:53:57.144813Z", |
| 55 | + "iopub.status.busy": "2025-05-06T12:53:57.144650Z", |
| 56 | + "iopub.status.idle": "2025-05-06T12:53:57.270116Z", |
| 57 | + "shell.execute_reply": "2025-05-06T12:53:57.269740Z" |
58 | 58 | }, |
59 | 59 | "vscode": { |
60 | 60 | "languageId": "plaintext" |
|
112 | 112 | "id": "7af5a922", |
113 | 113 | "metadata": { |
114 | 114 | "execution": { |
115 | | - "iopub.execute_input": "2025-05-06T11:09:12.911688Z", |
116 | | - "iopub.status.busy": "2025-05-06T11:09:12.911456Z", |
117 | | - "iopub.status.idle": "2025-05-06T11:09:13.839195Z", |
118 | | - "shell.execute_reply": "2025-05-06T11:09:13.838833Z" |
| 115 | + "iopub.execute_input": "2025-05-06T12:53:57.271162Z", |
| 116 | + "iopub.status.busy": "2025-05-06T12:53:57.271023Z", |
| 117 | + "iopub.status.idle": "2025-05-06T12:53:58.218631Z", |
| 118 | + "shell.execute_reply": "2025-05-06T12:53:58.218128Z" |
119 | 119 | }, |
120 | 120 | "vscode": { |
121 | 121 | "languageId": "plaintext" |
|
180 | 180 | "id": "493f1153", |
181 | 181 | "metadata": { |
182 | 182 | "execution": { |
183 | | - "iopub.execute_input": "2025-05-06T11:09:13.840368Z", |
184 | | - "iopub.status.busy": "2025-05-06T11:09:13.840261Z", |
185 | | - "iopub.status.idle": "2025-05-06T11:09:14.331764Z", |
186 | | - "shell.execute_reply": "2025-05-06T11:09:14.331288Z" |
| 183 | + "iopub.execute_input": "2025-05-06T12:53:58.220264Z", |
| 184 | + "iopub.status.busy": "2025-05-06T12:53:58.220096Z", |
| 185 | + "iopub.status.idle": "2025-05-06T12:53:58.718057Z", |
| 186 | + "shell.execute_reply": "2025-05-06T12:53:58.717598Z" |
187 | 187 | }, |
188 | 188 | "vscode": { |
189 | 189 | "languageId": "plaintext" |
|
234 | 234 | "id": "6e7f236c", |
235 | 235 | "metadata": { |
236 | 236 | "execution": { |
237 | | - "iopub.execute_input": "2025-05-06T11:09:14.333216Z", |
238 | | - "iopub.status.busy": "2025-05-06T11:09:14.332889Z", |
239 | | - "iopub.status.idle": "2025-05-06T11:09:15.152651Z", |
240 | | - "shell.execute_reply": "2025-05-06T11:09:15.152181Z" |
| 237 | + "iopub.execute_input": "2025-05-06T12:53:58.720462Z", |
| 238 | + "iopub.status.busy": "2025-05-06T12:53:58.720352Z", |
| 239 | + "iopub.status.idle": "2025-05-06T12:53:59.537730Z", |
| 240 | + "shell.execute_reply": "2025-05-06T12:53:59.537278Z" |
241 | 241 | }, |
242 | 242 | "vscode": { |
243 | 243 | "languageId": "plaintext" |
|
293 | 293 | }, |
294 | 294 | { |
295 | 295 | "cell_type": "code", |
296 | | - "execution_count": 7, |
| 296 | + "execution_count": null, |
297 | 297 | "id": "696c040a", |
298 | 298 | "metadata": { |
299 | 299 | "execution": { |
300 | | - "iopub.execute_input": "2025-05-06T11:09:15.209816Z", |
301 | | - "iopub.status.busy": "2025-05-06T11:09:15.209472Z", |
302 | | - "iopub.status.idle": "2025-05-06T11:09:15.959127Z", |
303 | | - "shell.execute_reply": "2025-05-06T11:09:15.958621Z" |
| 300 | + "iopub.execute_input": "2025-05-06T12:53:59.539558Z", |
| 301 | + "iopub.status.busy": "2025-05-06T12:53:59.539448Z", |
| 302 | + "iopub.status.idle": "2025-05-06T12:54:00.377743Z", |
| 303 | + "shell.execute_reply": "2025-05-06T12:54:00.377291Z" |
304 | 304 | }, |
305 | 305 | "vscode": { |
306 | 306 | "languageId": "plaintext" |
|
316 | 316 | "<IPython.core.display.HTML object>" |
317 | 317 | ] |
318 | 318 | }, |
319 | | - "execution_count": 7, |
| 319 | + "execution_count": 6, |
320 | 320 | "metadata": {}, |
321 | 321 | "output_type": "execute_result" |
322 | 322 | } |
|
351 | 351 | " },\n", |
352 | 352 | ")\n", |
353 | 353 | "\n", |
354 | | - "# Render the scene\n", |
355 | | - "dvr = libcarna.dvr(\n", |
356 | | - " GEOMETRY_TYPE_VOLUME, sr=800, transl=1, diffuse=0.8,\n", |
357 | | - ")\n", |
358 | | - "dvr.cmap.BrBG(ramp=0.5, rampdegree=2)\n", |
359 | | - "\n", |
360 | 354 | "libcarna.imshow(\n", |
361 | 355 | " libcarna.animate(\n", |
362 | 356 | " libcarna.animate.rotate_local(camera),\n", |
363 | 357 | " n_frames=100,\n", |
364 | 358 | " ).render(\n", |
365 | 359 | " libcarna.renderer(600, 450, [\n", |
366 | | - " dvr,\n", |
| 360 | + " dvr.replicate(),\n", |
367 | 361 | " libcarna.opaque(GEOMETRY_TYPE_OPAQUE),\n", |
368 | 362 | " ]),\n", |
369 | 363 | " camera,\n", |
|
0 commit comments