I am trying to use Texturecanvas and i am following this pg https://www.babylonjs-playground.com/#9S5YZY#27
but i am having a problem in my project
is there a npm package because when i import it from babylon its saying texturecanvas is no a constructor.
You need a module import for React, the TextureCanvas extension github page (Texture Canvas | Babylon.js Documentation) has instructions for that. Alternatively, instead of the extension, you can use the core Babylon AdvancedTexture: Dynamic Textures | Babylon.js Documentation