Skip to content
Docs
Open Promoeyes

macbook

motionset 26× in templates and rigs

A MacBook Pro 16" (the canonical tag; `laptop` is its alias): a real device model whose screen shows its `ui3d`, with a lid the `state` channel opens and closes.

macbook#cv06-macbook(position="-263 -85 17" rotation="0 14 0" scale=0.86)

Attributes

position"x y z"26×
rotation"x y z"26×
scalenumber21×
body-materialtextRe-finishes the casing: a preset (silver, space-black, gold, graphite, matte, porcelain, …), a colour, or a `materials` name.10×
anchortext`bottom` puts the rig origin at the device's bottom centre, so `position` names the surface it stands on (default: the body centre).9×
look_attextTurns the node every frame so its face (+z; a device's screen, a laptop's front) points at a target: a point `x y z` (mm, world), `#node-id` (that node, live) or `camera` (the lens, live). Its `rotation` and rotation keys are an offset on top of the aim.0×
uptextWith `look_at`: the world direction kept as the node's up, `x y z` (default `0 1 0`).0×

Where it goes

Examples

macbook#cv06-macbookin coverage/coverageOpen and play →
macbook#cv06-macbook(position="-263 -85 17" rotation="0 14 0" scale=0.86)
  ui(width=346 height=216 layout=column align=start)
    card(x=0 y=0 position=absolute w=346 h=216 r=0 fill=#0b1424 shadow=false)
    column(layout=column align=start w=fill flex=1 padding="23.07 19.22 0 19.22" gap=6.25)
      text(text="<macbook>" size=12.98 weight=800 color=#66e0ff align=left)
      text(text="canonical tag — <laptop> is the alias" size=6.73 weight=500 color=#93a4c8 align=left)
      card(w=fill h=45.65 r=4.81 fill=#12203a shadow=false)
      card(w=fill h=45.65 r=4.81 fill=#0f1a30 shadow=false)
macbook#s04-macin effects/clippingOpen and play →
macbook#s04-mac(scale=1.15 position="0 -30 0" rotation="-8 -18 0" body-material=porcelain)
  rotation
    0 0 0 0
    8 easeInOutCubic 4 34 0
  clip(axis=y feather=8 edge=#35e0ff edge-width=4)
    0.4 -130
    7.4 easeInOutSine 120
  clip(axis="-y" feather=8 edge=#35e0ff edge-width=4)
    0.4 -60
    7.4 easeInOutSine 190
  ui(width=286 height=179)
    card(anchor=top-left w=286 h=179 r=0 fill=#0a1420 shadow=false)
    card(anchor=top-left x=14 y=14 w=120 h=64 r=8 fill=#12263a shadow=false layout=column align=start gap=5 padding="10 10 10 10")
      text(text="scan" size=14 weight=800 color=#35e0ff align=left)
      text(text="two planes, one node" size=6 weight=500 color=#8fb4c6 align=left)
    card(anchor=top-left x=146 y=14 w=126 h=64 r=8 fill=#0e1e2d shadow=false)
    card(anchor=top-left x=14 y=92 w=258 h=22 r=6 fill=#0e1e2d shadow=false)
    card(anchor=top-left x=14 y=122 w=258 h=22 r=6 fill=#0e1e2d shadow=false)
    card(anchor=top-left x=14 y=152 w=110 h=14 r=7 fill=#35e0ff shadow=false)
macbook#s11-macin effects/clippingOpen and play →
macbook#s11-mac(scale=0.8 position="-330 -110 30" rotation="-6 26 0" body-material=porcelain)
  clip(axis=x feather=10)
    0.9 200
    2.3 easeOutCubic -200
  ui(width=286 height=179)
    card(anchor=top-left w=286 h=179 r=0 fill=#0a1420 shadow=false)
    card(anchor=top-left x=16 y=16 w=254 h=60 r=8 fill=#12263a shadow=false)
    card(anchor=top-left x=16 y=88 w=254 h=24 r=6 fill=#0e1e2d shadow=false)