Could you explain how box.rect is working? At first I got an error saying "box.rect is not defined". It went away (seemingly on its own?), but I'm unclear what the JS script is referencing if there's nothing like var = box.rect. I'm completely new to JS so probably missing something obvious!
@danjwheatley8 ай бұрын
can you please put a link to that reference material in the video description? thank you!
@AmazingMaxStuff8 ай бұрын
Hey! Which material do you mean?
@danjwheatley8 ай бұрын
@@AmazingMaxStuff oh hi! I just meant the non cycling 74 javascript reference site :) thanks for all your amazing work!
@pakkastudios9 ай бұрын
i think your videos help so much! for someone who is really new till javascript and also max, i find it hard to find good tutorials or dokumentation for jsui!! can you make more??? 🥺👉👈
@AmazingMaxStuff9 ай бұрын
Thank you! I have some more on my channel which you can find here: www.federicofoderaro.com/max-msp-jitter-tutorials.html But yes, always coming more!
@estevancarlos2 жыл бұрын
Out of curiosity, is there a reason you're using var instead of let?
@AmazingMaxStuff2 жыл бұрын
Hey Estevan! Very simple reason: Max uses ES5, and "let" was introduced in ES6, so it just doesn't exist in Max.
@estevancarlos2 жыл бұрын
@@AmazingMaxStuff Oh damn. I forgot about that. Okay thanks.
@nathanhansenmusic91732 жыл бұрын
Hey Frederico, I was wondering if you knew how to fill a specific rectangle on click. I have a paint function that draws a grid of squares, kind of like matrixcrtl. I want it so that if I click on a square in the grid, it becomes filled with the fill() function. The problem is that I don't know how to reference a specific rectangle in my functions. Any advice would be appreciated!
@AmazingMaxStuff2 жыл бұрын
Hey Nathan! There would be several ways to do it, one would be to put all the squares of the grid in an array. At every click you would iter the array and check in which square the mouse is in. If it's inside one square you would then fill it.
@ShishioMakoto002 жыл бұрын
This is a great start! Can you teach us how to create an eq visualizer like the live eq8?
@AmazingMaxStuff2 жыл бұрын
Hey! I would not build it with JSUI but with a simple Max abstraction.
@henriquematias19862 жыл бұрын
very nice!
@AmazingMaxStuff2 жыл бұрын
Thank you Henrique!
@johnenriquemenesesrizo44972 жыл бұрын
mgraphics: not enough arguments for rectangle ????
@AmazingMaxStuff2 жыл бұрын
Make sure you use 4 numbers as arguments, with commas between them
@johnenriquemenesesrizo44972 жыл бұрын
@@AmazingMaxStuff I already solved it, very silly problems XD,