MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. leejaeuk
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Groups 0

    Posts

    Recent Best Controversial
    • p5.js and Magic Mirror

      Hello developeing Eng…
      I wondered about use way p5.js.
      I’m used raspberry pi 3B & installed Magic Mirror and I also insert other modules .

      but I want to make a my custom module from p5.js.(or p5.js.example)
      How can I insert HTML.js to node.js and are there any way to insert Magic mirror?
      please give me any information about that…
      Thank you!

      posted in General Discussion
      L
      leejaeuk
    • RE: p5.js and Magic Mirror

      @raywo Thank you for your response!
      i have seen that code and i have several question of your code!

      My insert code of p5.js is (https://p5js.org/examples/sound-frequency-spectrum.html)

      and your code, maybe “https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/p5.js” is adding a p5.js library(right?)

      next, i think function : makeSketch is main code of p5.js.
      but i have no idea , how can i added ‘sound-frequency-spectrum’ code. it is little bit complicate for me…

      is it okay just change [ pFive.setup = function(), pFive.draw = function()]?

      posted in General Discussion
      L
      leejaeuk
    • 1 / 1