Ruslan Fadeev

Results 92 comments of Ruslan Fadeev

Yeah, there's a long list of thing I wanted to do for a long time but never had the time to do. Pull requests are welcome!

Hi! I'm not exactly working on 1.0 right now, haha. I totally should, but there haven't been any really important changes there AFAIK. How would you expect p5 sound to...

I just published a new version under the `next` tag. It has p5 1.0 and also exports the p5 object as `VueP5.p5` so that you don't have to import it...

Thanks for trying the new version and for the code! I can't check right now, but I think you can remove the separate "import p5" and use "sketch" in its...

Basically this: ```js import VueP5 from "vue-p5"; // import p5 from "p5" ({ osc: null, }), methods: { setup(sketch) { sketch.createCanvas(200, 200); sketch.background(0); this.osc = new sketch.Oscillator('Sine'). //

And the other option is `this.osc = new VueP5.p5.Oscillator('Sine')`

Huh, that's unfortunate. Thanks for checking though! I wonder if p5.Sound works with p5 in instance mode at all. Doesn't seem to be documented anywhere :( Is p5.Sound more convenient...

I see, thanks for checking again :) > So I guess my feature request doesn't make sense after all 😅 It totally does! Thanks to this issue me and other...

Hi, thanks for the report! In case you still have this problem, here's a quick fix: replace ``` ``` with ``` ``` I'll keep this issue open for now. I...

I'll get around to investigating this eventually :) Maybe I should just remove all mentions of `this` from README. Or make the `{setup, draw}` way the default and only mention...