← Back to PAIML
🎮

Loading

🔧 Remix Workshop

📄 Load Contraption (YAML)

Upload a YAML file to load a pre-built scene with objects and settings

🤖 Load AI Model (.apr)

Upload an Aprender model to add smart behaviors to your objects

📝 Example YAML Format

# my-contraption.yaml
name: "Domino Rally"
author: "Your Name"
gravity: 0.5
objects:
  - type: ball
    x: 100
    y: 50
    radius: 25
    color: "#e94560"

  - type: ramp
    x: 200
    y: 300
    width: 150
    rotation: -0.3

  - type: domino
    x: 350
    y: 450
    count: 5        # Creates 5 dominoes in a row
    spacing: 30

  - type: bomb
    x: 600
    y: 100
    fuse: 180       # Frames until explosion

ai_behaviors:
  - model: "seeker.apr"
    target: ball
    speed: 2

🤖 About .apr Models

# .apr files are Aprender AI models that can:

• Make objects follow targets (seeker behavior)
• Avoid obstacles (pathfinding)
• React to explosions (flee behavior)
• Chain reactions (trigger behaviors)

# Load pre-trained models or train your own!
# See: github.com/paiml/aprender
📦 0
60 FPS
🔴
📦
🀱
📐
💣

⏸️ Paused