2024-04-26 16:38:08 +00:00
|
|
|
import P5 from "p5"
|
|
|
|
import * as p5Sound from 'p5/lib/addons/p5.sound'
|
|
|
|
import * as p5Global from 'p5/global'
|
|
|
|
|
|
|
|
export = P5;
|
|
|
|
export as namespace p5;
|
|
|
|
|
|
|
|
declare global {
|
|
|
|
interface Window {
|
|
|
|
p5: typeof P5,
|
2024-07-23 07:12:54 +00:00
|
|
|
setup: () => void,
|
|
|
|
preload: () => void,
|
|
|
|
draw: () => void
|
2024-04-26 16:38:08 +00:00
|
|
|
}
|
|
|
|
}
|