Read the statement by Michael Teeuw here.
p5.js and Magic Mirror
-
@raywo
i will try it!
i’m really thank you for your kindness
really appreciate! -
raywo, i tried your suggestion
initially, your module(gameoflife) is well doing
and i fixed your code.this is fixed code MMM-GameOfLife.js
var mic, fft; pFive.setup = function() { pFive.createCanvas(710,400); pFive.noFill(); mic = new p5.AudioIn(); mic.start(); fft = new p5.FFT(); fft.setInput(mic); };
and
but it didn’t work well. So i just write createCanvas and pFive.background (255) then white 710 400 size window is display well in mirror but full code is not work. i think
mic = new p5.AudioIn(); mic.start(); fft = new p5.FFT(); fft.setInput(mic);
code is not appropriate… please fix my code !
-
also i changed
mic = new p5.AudioIn(); mic.start(); fft = new p5.FFT(); fft.setInput(mic);
new p5.AudioIn(); ,new p5.FFT(); -> p5.AudioIn(); p5.FFT();,
and -> pFive.AudioIn(); pFive.FFT(); and -> new Five.AudioIn(); , new pFive.FFT();but all code didn’t work :(
-
@raywo
i’m still not solved this problem please help me… -
@leejaeuk You should create a GitHub repository for your code so that someone can have a look at it.