Set in JavaScript can easily remove duplicates from an array. A Set is a collection of values where each value must be unique. When you convert an array to a set, all duplicate values are automatically removed. Here’s an example: Example in JavaScript: // Original array with duplicates const arrayWithDuplicates = [1, 2, 3, 4,… Continue reading Use Set to remove Duplicates from an Array
Month: February 2025
Continuous Testing
Continuous Testing: Ensuring Quality at Every Stage Continuous testing is a software testing approach that integrates automated testing throughout the software development lifecycle (SDLC). Instead of testing being a separate phase, continuous testing ensures that code is tested at every stage, from development to deployment, enabling rapid feedback and quicker issue resolution. Key Benefits of… Continue reading Continuous Testing
TDS Calculation in NetSuite: Processing Customer-Side TDS and Sales Transactions
Currently, there is no alternative solution available for calculating TDS (Tax Deducted at Source) on customer payments, as it is being addressed under Enhancement #537790. However, in NetSuite, we can check the available options and process TDS on the customer side using the following steps. When creating a Sales Order (SO), after selecting the customer… Continue reading TDS Calculation in NetSuite: Processing Customer-Side TDS and Sales Transactions
Animating 3D Models in Three.js with Mixamo and GLTF
Introduction Animating 3D models in Three.js is a powerful way to bring interactive experiences to life. Mixamo, an online animation library by Adobe, provides high-quality character animations, while the GLTF format allows efficient model storage and rendering in Three.js. This article covers how to import, animate, and control Mixamo animations in Three.js using GLTF models.… Continue reading Animating 3D Models in Three.js with Mixamo and GLTF
Object Snapping in Three.js: A Detailed Guide
Introduction In Three.js, object snapping refers to automatically aligning objects to predefined positions when they come close. This behavior is particularly useful in applications like 3D modeling tools, puzzle games, and VR experiences where precise positioning is necessary. The provided JavaScript code implements an object snapping system using a list of predefined positions and a… Continue reading Object Snapping in Three.js: A Detailed Guide
Exploring Theatre.js for Three.js Animations
Introduction to Theatre.js Theatre.js is a powerful animation library designed for creating and controlling animations in JavaScript, particularly for Three.js scenes. It provides a timeline-based approach, allowing users to keyframe animations and manage complex sequences with an intuitive UI. Why Use Theatre.js with Three.js? Three.js provides a solid foundation for rendering 3D graphics, but its… Continue reading Exploring Theatre.js for Three.js Animations
FakeGlow.js: Integration Bloom effects without using post processing in threeJS
In the world of 3D graphics, creating realistic lighting and material effects is essential for immersing viewers in interactive visual experiences. One such effect is the glow, which adds a sense of radiance to objects within a scene. A new custom shader material, FakeGlowMaterial, allows developers to create highly customizable and visually striking glowing effects… Continue reading FakeGlow.js: Integration Bloom effects without using post processing in threeJS
Print One Check Per Page When Bulk Printing With Advanced PDF/HTML Templates
There are cases wherein users need to print only one Check per page when Bulk Printing with Advanced PDF/HTML Templates. Navigate to Customization > Forms > Advanced PDF/HTML Templates Standard Check PDF/HTML Template: Click Customize Top right corner: Toggle Source Code Paste the following code before the ending </body> tag: <div style=”position: relative;height: 250pt;”> </div> Copy Click Save
ITF-14 Barcode Format
ITF-14 format of bar code is not yet supported by Big Faceless (the PDF generator used by NetSuite). However, a suitescript may be used to print other barcode types.
Object Snapping in Three.js: A Detailed Guide
Introduction In Three.js, object snapping refers to automatically aligning objects to predefined positions when they come close. This behavior is particularly useful in applications like 3D modeling tools, puzzle games, and VR experiences where precise positioning is necessary. The provided JavaScript code implements an object snapping system using a list of predefined positions and a… Continue reading Object Snapping in Three.js: A Detailed Guide