2. In the video you asked about the diameter. You're right in that it kind of sets how much randomness there is - it determines the size of the walk through the simplex noise input space. Because the loop goes round using the angle, the diameter effectively kind of determines the noise octave/frequency and how much total variation there will be.
3. The image size has been conflated with the number of dimensions in the latent vector.
In StyleGAN, the latent vector has 512 dimensions. The size of the output image is independent to the latent vector and depends on the pretrained model used.
BTW good job with this, it's a great use for simplex noise. It's an elegant method of making random looping walks through latent space.
Just a few comments related to your code.
1. You no longer need
data/landscape.js
to set the starting latent becausea
is immediately overridden using the noise loops: https://github.com/heaversm/runway-stylegan-animations/blob/fd2ca7ede62baad89ac1cabcdc78f87240beff56/js/stylegan-transition.js#L28-L302. In the video you asked about the diameter. You're right in that it kind of sets how much randomness there is - it determines the size of the walk through the simplex noise input space. Because the loop goes round using the angle, the diameter effectively kind of determines the noise octave/frequency and how much total variation there will be.
3. The image size has been conflated with the number of dimensions in the latent vector. In StyleGAN, the latent vector has 512 dimensions. The size of the output image is independent to the latent vector and depends on the pretrained model used.
For example here are the sizes of the pretrained models from https://github.com/NVlabs/stylegan
In
stylegan-transition.js
, the variableimgSize
should instead be called something likelatentDimensions
. For example here there is a NoiseLoop for each dimension of the latent vector. https://github.com/heaversm/runway-stylegan-animations/blob/fd2ca7ede62baad89ac1cabcdc78f87240beff56/js/stylegan-transition.js#L17-L19