title: "1-1 Pixel Data" description: "Demonstrates how to access camera pixel data and draw it with reduced resolution like pixel art." createdAt: "2026/03/09 00:00:00" tags:

  • Camera
  • Pixel Data techStack:
  • p5.js 2.0 isFeatured: false isPinned: false showSource: false sourceFiles: ["sketch.js", "index.html"] thumbnailConfig: width: 400 height: 400 frames: 30 fps: 10 startDelay: 2 captureDuringSimulation: false # シミュレーションが終わってからキャプチャ開始 simulation: - type: "click" x: 200 y: 200 delay: 1000 postDelay: 100 # クリック後、1秒間(100ms)待機する---