Skip to content

LumosLab-Innovation/3D-lab-skills / plugins/threejs-lab/skills/threejs-studio

threejs-studio

Verified

Create image options, get human approval on localhost, author geometry in Three.js or Blender MCP, then code Three.js motion, contraction and interaction for either model. Use for prompt-to-3D, image-to-model, animated interactive assets or resuming visual approval across coding agents. No paid image-to-3D service.

web/style.css

View on GitHub
:root {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #242722;
  background: #f7f8f4;
  --accent: #466341;
  --line: #dce1d6;
  --muted: #697164;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
select,
textarea {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  cursor: pointer;
}
button {
  min-height: 44px;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
  transition:
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
  border: 1px solid transparent;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #739968;
  outline-offset: 4px;
}
.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 4px #30422f16;
}
.primary:hover:not(:disabled) {
  background: #344c30;
  box-shadow: 0 3px 10px #30422f24;
}
.secondary {
  background: #fff;
  border-color: var(--line);
}
.secondary:hover,
.quiet:hover {
  background: #ebeee6;
}
.quiet {
  background: transparent;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
header {
  height: 80px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: #fff9;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-size: 23px;
  letter-spacing: -1px;
}
.brand strong {
  font-weight: 400;
  color: var(--muted);
}
.brand svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.byline {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
}
main {
  max-width: 1480px;
  padding: 0 5vw;
  margin: auto;
}
.steps {
  display: flex;
  list-style: none;
  padding: 27px 0 22px;
  margin: 0;
  gap: 40px;
  color: #91978c;
  font-size: 12px;
  font-weight: 600;
}
.steps span {
  margin-left: 9px;
}
.steps li.active {
  color: var(--accent);
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0 27px;
}
h1 {
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -1.5px;
  font-weight: 550;
  line-height: 1.16;
  margin: 0;
}
#prompt {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
  max-width: 760px;
  overflow-wrap: anywhere;
}
#status {
  font-size: 12px;
  white-space: nowrap;
  color: var(--accent);
}
.image-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.image-option {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: #fff;
  padding: 7px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 16px;
}
.image-option:hover {
  box-shadow: 0 8px 30px #2b3d1c0d;
  transform: translateY(-2px);
}
.image-option[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #46634112;
}
.image-option img {
  width: 100%;
  height: clamp(220px, 48vh, 500px);
  object-fit: contain;
  min-height: 180px;
  background: #f0f2eb;
  border-radius: 9px;
}
.image-option .caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 10px;
  font-size: 14px;
}
.checkmark {
  border: 1px solid var(--line);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: transparent;
  flex-shrink: 0;
}
.image-option[aria-pressed="true"] .checkmark {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}
#workspace {
  display: grid;
  grid-template-columns: minmax(200px, 26%) 1fr;
  gap: 26px;
}
#reference {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--muted);
}
#reference img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #ecefe7;
  border-radius: 12px;
}
#reference button {
  align-self: flex-start;
  padding-left: 0;
}
.model-panel {
  min-width: 0;
}
#model-options {
  display: flex;
  gap: 6px;
  margin: 0 0 12px;
  flex-wrap: wrap;
}
#model-options button {
  min-height: 38px;
  padding: 6px 12px;
  background: transparent;
  border-radius: 7px;
  font-size: 13px;
  color: var(--muted);
}
#model-options button[aria-pressed="true"] {
  color: #263e21;
  background: #e3e9db;
}
.viewport {
  height: clamp(360px, 52vh, 660px);
  background: #e9ede3;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
#waiting,
#empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  color: var(--muted);
  font-size: 14px;
}
#empty {
  min-height: 310px;
  border-block: 1px solid var(--line);
}
.waiting-symbol {
  font-size: 70px;
  font-weight: 200;
  color: #819775;
}
#downloads {
  display: flex;
  gap: 20px;
  font-size: 13px;
  padding-top: 14px;
  flex-wrap: wrap;
}
#downloads a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid #acbba3;
  padding-bottom: 3px;
}
#actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 32px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.action-buttons {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
#approve span {
  margin-left: 24px;
}
#engine-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
select {
  padding: 11px 34px 11px 12px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: #263e21;
}
#revision {
  margin: 24px 0 0;
  max-width: 760px;
}
#revision label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}
textarea {
  resize: vertical;
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
#revision div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}
#error {
  padding: 12px 16px;
  border-left: 3px solid #a54029;
  background: #f9eae4;
  color: #863621;
  font-size: 14px;
}
.image-option,
.model-panel {
  animation: appear 0.22s ease-out;
}
@keyframes appear {
  from {
    opacity: 0.3;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 700px) {
  header {
    height: 64px;
  }
  .brand {
    font-size: 21px;
  }
  .byline {
    font-size: 9px;
  }
  main {
    padding: 0 20px;
  }
  .steps {
    gap: 18px;
    font-size: 10px;
    padding: 24px 0 18px;
  }
  .steps span {
    margin-left: 4px;
  }
  .heading {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  #status {
    max-width: 100px;
    white-space: normal;
    font-size: 11px;
  }
  #prompt {
    font-size: 13px;
  }
  .image-options {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .image-option img {
    min-height: 0;
    height: auto;
    aspect-ratio: 1;
  }
  .image-option .caption {
    font-size: 12px;
    padding: 10px 5px;
  }
  .image-option {
    border-radius: 12px;
  }
  #workspace {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  #reference {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 8px 15px;
  }
  #reference img {
    grid-row: 1/3;
    grid-column: 1;
    width: 80px;
  }
  #reference .eyebrow {
    grid-column: 2;
    align-self: end;
  }
  #reference button {
    grid-column: 2;
    justify-self: start;
    align-self: start;
    padding: 0;
    min-height: 32px;
    font-size: 12px;
  }
  .viewport {
    height: 420px;
    max-height: 60svh;
  }
  #actions {
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
  }
  #engine-picker {
    width: 100%;
    justify-content: space-between;
  }
  .action-buttons {
    width: 100%;
    justify-content: flex-end;
  }
  button {
    padding: 10px 14px;
  }
  #approve {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall