p5_party_logo.png

<aside> ๐ŸŽ‰

New in v0.15: p5.js 2 and plain JavaScript!

p5.party now works with p5.js 1, p5.js 2, and even plain JavaScript without p5.js. Your existing p5.js 1 sketches will keep working just like before.

Using p5.js 2? Check out the p5.js 2 Quick Start Guide and the hello_party_v2 example.

Not using p5.js? Check out [Using p5.party without p5.js](https://justinbakse.notion.site/Using-p5-party-without-p5-js-3fcb1bb21cec81869935fc26321e6d1e) and the hello_party_vanilla and hello_party_vanilla_dom examples.

</aside>

Introduction

What do I Need to Know to Get Started?

p5.js Web Editor Quick Start Guide (p5.js 1)

VS Code Quick Start Guide (p5.js 1)

p5.js 2 Quick Start Guide

Download

๐Ÿ™ย  Github

๐Ÿ•น๏ธ Examples

Learning p5.party

The p5.party Curriculum document organizes the p5.party documentation into a suggested learning order. It can be used as a framework for those learning p5.party on their own. It can also be used as a starting point for instructors who want to include p5.party in their courses.

p5.party Curriculum

Guide

Connecting to the Server

Guests and Host

Shared Objects

โ€œmySharedโ€ Objects

Messaging

Rooms

Avoiding Write Conflicts

Using Callbacks

Server Setup

The Info Panel

[Using p5.party without p5.js](https://justinbakse.notion.site/Using-p5-party-without-p5-js-3fcb1bb21cec81869935fc26321e6d1e)

Frequently Asked Questions

Tips

Gotchas

Donโ€™t Reassign Shared Variables

[OOP and p5.party](https://justinbakse.notion.site/OOP-and-p5-party-bf6a67457342491bb78824580005b735)

Sharing p5.Color + p5.Vector Objects

API Reference

partyConnect()

partyLoadShared()

partySetShared()

partyWatchShared()

partyIsHost()

partyDisconnect()

partyLoadMyShared()

partyLoadGuestShareds()

partySubscribe()

partyUnsubscribe()

partyEmit()

partyToggleInfo()

Example Projects

https://p5party.org/examples/