Add conic_sections.csv and star_collision.csv #50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@oliverdunk and @thatmattparker: I have created an animation showing the tree being cut into different conic sections (circle, ellipse, parabola and hyperbola). Each part of the animation is created with the equation of a 3D plane; as the position of the plane varies, each LED position is inserted into the plane equation to determine if that LED lies below or above the plane. In other words, this determines if the LED is turned on or off. To rotate the plane, a sine and cosine factor is added to the Y and X coefficients in the plane equation. This effectively rotates the plane around the Z-axis. The animation is best viewed perpendicular to the Y,Z plane, but can be enjoyed from any angle.
I have also created an animation showing 2 neutron stars colliding into each other, producing a kilonova. This is a tribute to the first neutron star collision detection, back in 2017. Two spheres mapped in 3D space follow a pre-determined curve approximating a decaying orbit. The two jets exploding from the poles are created with growing cylinders along the z-axis. The final part of the explosion is created by mapping a torus, with both in its major and minor radius gradually expanding.
The scripts used the make these CSV files can be found in my public repositories.