Skip to main content
100%

P5 Starter

✓ Published3🌍 Public
CCurran Kelleher
Last edited Oct 3, 2025
Created on Oct 3, 2025
Forked from HTML Starter

This example displays a fullscreen P5.js canvas that shows the text "Hello P5!" centered against a gray background, with no scrollbars. It uses P5.js functions such as `createCanvas`, `draw`, and `text` to render the output, while `windowResized` and `resizeCanvas` maintain responsiveness. The setup also loads D3.js from a CDN alongside P5.js, though the sketch itself only relies on P5's core drawing API.

AI-generated description

P5.js Basic Starter

A simple starter template for P5.js projects with no scrollbars.

Features

  • Fullscreen canvas that resizes with the window
  • No scrollbars
  • Basic "Hello P5!" text display
  • Responsive design

Setup

  1. Open index.html in a browser
  2. Edit sketch.js to create your P5.js sketch
  3. Modify styles.css for additional styling if needed
MIT Licensed

Similar vizzes