Helical Gear Calculator and Simulation
About this app
A comprehensive Helical Gear Calculator and Simulation tool. Input parameters like Number of Teeth, Diametrical Pitch, Gear Thickness, RPM, Helix Angle, Hand of Helix and Pressure Angle. Get precise results and visualize the gear's operation.
javascript function animate() { requestAnimationFrame(animate); gear.rotation.x += 0.01; gear.rotation.z += 0.01; // Get the current camera position var cameraPosition = camera.position.clone(); // Calculate the new camera position based on the gear rotation var radius = 2; // Adjust this value to control the distance from the gear var angle = gear.rotation.x; var newX = radius * Math.sin(angle); var newZ = radius * Math.cos(angle); cameraPosition.set(newX, cameraPosition.y, newZ); // Update the camera position camera.position.copy(cameraPosition); renderer.render(scene, camera); }
Related apps
Put this on your site
Source
javascript
function animate() {
requestAnimationFrame(animate);
gear.rotation.x += 0.01;
gear.rotation.z += 0.01;
// Get the current camera position
var cameraPosition = camera.position.clone();
// Calculate the new camera position based on the gear rotation
var radius = 2; // Adjust this value to control the distance from the gear
var angle = gear.rotation.x;
var newX = radius * Math.sin(angle);
var newZ = radius * Math.cos(angle);
cameraPosition.set(newX, cameraPosition.y, newZ);
// Update the camera position
camera.position.copy(cameraPosition);
renderer.render(scene, camera);
}
NEW APPS
These are apps made by the community!