WebGL multiple elements example

Hi all,
i’m new entry in this community and i hope to improve my code skills (and one day to share it too).

I’m having trouble with a project made with angular.
I’m traing to replicate this example but renderer is undefined.

Can some one tell me where i’m wrong?

You can read the code here.
Base template from this git prj.

Thank you!

I get plenty of errors trying to run the code you linked, but none of them mention renderer. Can you check if the sandbox you linked is correct?

1 Like

I’m sorry for late answering but i had problem with codesandbox.
I’ve created a repo on github to share the code btw.

Thank you @mjurczyk to interest :slight_smile: