/ proof-of-concept / steelsim21
Sign in
proof-of-concept / steelsim21
Gallery: add shape sweeps (outline, ellipse size, ellipse bow)
Jeremy Magland <jmagland@flatironinstitute.org> committed commit 86a1f968c137 parent c63c76a Browse files
2 changed files+237−3
docs/gallery/index.htmlmodified+3−3View file
@@ -21,10 +21,10 @@ svg.setup { display: block; max-width: 100%; height: auto; }
2121 <text x="60" y="38" font-weight="600">Front view</text>
2222 <text x="60" y="56" fill="#9aa0a8">12 x 18 in, 0.79 mm stainless steel</text>
2323 <!-- thread and hanging sheet -->
24- <line x1="70" y1="72" x2="70" y2="90" stroke="#c8cbd0" stroke-width="1" stroke-dasharray="3 2"/>
24+ <line x1="66" y1="72" x2="66" y2="86" stroke="#c8cbd0" stroke-width="1" stroke-dasharray="3 2"/>
2525 <rect x="60" y="80" width="152.39999999999998" height="228.6" fill="#2a3340" stroke="#c8cbd0" stroke-width="1.5"/>
26- <circle cx="70" cy="90" r="3" fill="#15171a" stroke="#c8cbd0"/>
27- <text x="80" y="106" fill="#9aa0a8">hangs from a thread through a hole</text>
26+ <circle cx="66" cy="86" r="3" fill="#15171a" stroke="#c8cbd0"/>
27+ <text x="76" y="102" fill="#9aa0a8">hangs from a thread through a hole</text>
2828 <!-- strike point -->
2929 <circle cx="166.67999999999998" cy="228.59" r="6" fill="none" stroke="#6fa8ea" stroke-width="2"/>
3030 <line x1="173.67999999999998" y1="221.59" x2="224.67999999999998" y2="170.59" stroke="#b08050" stroke-width="5" stroke-linecap="round"/>
docs/gallery/manifest.jsonmodified+234−0View file
@@ -320,6 +320,240 @@
320320 "excitation": "strike"
321321 }
322322 },
323+ {
324+ "id": "outline",
325+ "title": "Sheet: outline at equal area (push and release)",
326+ "text": "Four outlines cut from the same amount of steel (216 square inches, the area of the default 12 by 18 inch sheet): the rectangle, a square, the ellipse of the same 2:3 proportions, and a circle. Everything else is held at the defaults, including the 3 mm bow across the width. The push acts at a corner for the rectangle and the square and at the rim point opposite the hole for the ellipse and the circle, so part of the difference is the excitation itself: a rim point of an ellipse is stiffer than the corner of a rectangle, and the same 10 mm push deforms the whole sheet rather than bending a corner.",
327+ "clips": [
328+ {
329+ "label": "rectangle 12 x 18 in",
330+ "params": {}
331+ },
332+ {
333+ "label": "square 14.7 x 14.7 in",
334+ "params": {
335+ "Lx": 0.37338,
336+ "Ly": 0.37338
337+ }
338+ },
339+ {
340+ "label": "ellipse 13.5 x 20.3 in",
341+ "params": {
342+ "shape": "ellipse",
343+ "Lx": 0.34392,
344+ "Ly": 0.51587
345+ }
346+ },
347+ {
348+ "label": "circle 16.6 in",
349+ "params": {
350+ "shape": "ellipse",
351+ "Lx": 0.42113,
352+ "Ly": 0.42113
353+ }
354+ }
355+ ]
356+ },
357+ {
358+ "id": "outline-strike",
359+ "title": "Sheet: outline at equal area (drumstick strike)",
360+ "text": "The same sweep excited by the default drumstick strike (30 g at 3 m/s) instead of the push. The strike point is at the same fraction of the width and height in every case.",
361+ "base": {
362+ "excitation": "strike"
363+ },
364+ "clips": [
365+ {
366+ "label": "rectangle 12 x 18 in",
367+ "params": {}
368+ },
369+ {
370+ "label": "square 14.7 x 14.7 in",
371+ "params": {
372+ "Lx": 0.37338,
373+ "Ly": 0.37338
374+ }
375+ },
376+ {
377+ "label": "ellipse 13.5 x 20.3 in",
378+ "params": {
379+ "shape": "ellipse",
380+ "Lx": 0.34392,
381+ "Ly": 0.51587
382+ }
383+ },
384+ {
385+ "label": "circle 16.6 in",
386+ "params": {
387+ "shape": "ellipse",
388+ "Lx": 0.42113,
389+ "Ly": 0.42113
390+ }
391+ }
392+ ]
393+ },
394+ {
395+ "id": "ellipse-size",
396+ "title": "Ellipse: size (push and release)",
397+ "text": "Elliptical sheets inscribed in the same bounding boxes as the rectangular size sweep above, pushed 10 mm at the rim.",
398+ "base": {
399+ "shape": "ellipse"
400+ },
401+ "clips": [
402+ {
403+ "label": "8 x 12 in",
404+ "params": {
405+ "Lx": 0.2032,
406+ "Ly": 0.3048
407+ }
408+ },
409+ {
410+ "label": "12 x 18 in",
411+ "params": {}
412+ },
413+ {
414+ "label": "18 x 24 in",
415+ "params": {
416+ "Lx": 0.4572,
417+ "Ly": 0.6096
418+ }
419+ },
420+ {
421+ "label": "24 x 36 in",
422+ "params": {
423+ "Lx": 0.6096,
424+ "Ly": 0.9144
425+ }
426+ }
427+ ]
428+ },
429+ {
430+ "id": "ellipse-size-strike",
431+ "title": "Ellipse: size (drumstick strike)",
432+ "text": "The same sweep excited by the default drumstick strike (30 g at 3 m/s) instead of the push.",
433+ "base": {
434+ "shape": "ellipse",
435+ "excitation": "strike"
436+ },
437+ "clips": [
438+ {
439+ "label": "8 x 12 in",
440+ "params": {
441+ "Lx": 0.2032,
442+ "Ly": 0.3048
443+ }
444+ },
445+ {
446+ "label": "12 x 18 in",
447+ "params": {}
448+ },
449+ {
450+ "label": "18 x 24 in",
451+ "params": {
452+ "Lx": 0.4572,
453+ "Ly": 0.6096
454+ }
455+ },
456+ {
457+ "label": "24 x 36 in",
458+ "params": {
459+ "Lx": 0.6096,
460+ "Ly": 0.9144
461+ }
462+ }
463+ ]
464+ },
465+ {
466+ "id": "ellipse-bow-amplitude",
467+ "title": "Ellipse: initial bow (push and release)",
468+ "text": "The 12 by 18 inch ellipse with a flat shape and with bows of 1.5, 3 and 6 mm across the width, pushed 10 mm at the rim.",
469+ "param": "bowAmplitude",
470+ "unit": "mm",
471+ "scale": 0.001,
472+ "values": [
473+ 0,
474+ 0.0015,
475+ 0.003,
476+ 0.006
477+ ],
478+ "base": {
479+ "shape": "ellipse"
480+ }
481+ },
482+ {
483+ "id": "ellipse-bow-amplitude-strike",
484+ "title": "Ellipse: initial bow (drumstick strike)",
485+ "text": "The same sweep excited by the default drumstick strike (30 g at 3 m/s) instead of the push.",
486+ "param": "bowAmplitude",
487+ "unit": "mm",
488+ "scale": 0.001,
489+ "values": [
490+ 0,
491+ 0.0015,
492+ 0.003,
493+ 0.006
494+ ],
495+ "base": {
496+ "shape": "ellipse",
497+ "excitation": "strike"
498+ }
499+ },
500+ {
501+ "id": "ellipse-bow-shape",
502+ "title": "Ellipse: shape of the bow (push and release)",
503+ "text": "The same 3 mm sag on the 12 by 18 inch ellipse as a bow across the width, across the height, or as a dish curved both ways.",
504+ "base": {
505+ "shape": "ellipse"
506+ },
507+ "clips": [
508+ {
509+ "label": "across the width",
510+ "params": {
511+ "bowShape": "width"
512+ }
513+ },
514+ {
515+ "label": "across the height",
516+ "params": {
517+ "bowShape": "height"
518+ }
519+ },
520+ {
521+ "label": "dish",
522+ "params": {
523+ "bowShape": "dish"
524+ }
525+ }
526+ ]
527+ },
528+ {
529+ "id": "ellipse-bow-shape-strike",
530+ "title": "Ellipse: shape of the bow (drumstick strike)",
531+ "text": "The same sweep excited by the default drumstick strike (30 g at 3 m/s) instead of the push.",
532+ "base": {
533+ "shape": "ellipse",
534+ "excitation": "strike"
535+ },
536+ "clips": [
537+ {
538+ "label": "across the width",
539+ "params": {
540+ "bowShape": "width"
541+ }
542+ },
543+ {
544+ "label": "across the height",
545+ "params": {
546+ "bowShape": "height"
547+ }
548+ },
549+ {
550+ "label": "dish",
551+ "params": {
552+ "bowShape": "dish"
553+ }
554+ }
555+ ]
556+ },
323557 {
324558 "id": "material",
325559 "title": "Sheet: material (push and release)",
↑↓ move↵openescclose