3D Spherical Path Calculation Algorithm

2025-06-10
3D Spherical Path Calculation Algorithm

This code implements an algorithm for calculating the path between two points on a 3D sphere. It first converts the start and end vectors to a local coordinate system, then uses quaternion interpolation to calculate multiple points on the path, and finally generates a curve connecting the two points. The algorithm cleverly utilizes the properties of 3D vectors and quaternions to efficiently compute a smooth spherical path, suitable for path planning and animation in 3D scenes.

Read more

The Browser: A New Medium for Storytelling

2025-01-11
The Browser: A New Medium for Storytelling

This article explores the potential of the browser as a novel medium for adapting stories. Using J.R.R. Tolkien's Lord of the Rings as an example, it highlights how different mediums shape storytelling. The author argues that the browser, with its versatile tools (text, images, video, sound, interactivity), offers richer, more dynamic, and personalized narrative experiences. A prototype interactive adaptation of Lord of the Rings is showcased, demonstrating how browser technology enhances reader immersion and engagement through features like maps, character sheets, and sound design, creating a compelling user experience.

Read more