djwelsh's public fiddles
-
w8zyv2n4
No-Library (pure JS), HTML, CSS, JavaScript
-
527s48dc
No-Library (pure JS), HTML, CSS, JavaScript
-
Alphabet
No-Library (pure JS), HTML, CSS, JavaScript
-
Random JH Questions
For drilling
-
Multi
jQuery 3.4.1, HTML, CSS, JavaScript
-
Spelling Bubbles Test
jQuery 3.4.1, HTML, CSS, JavaScript
-
fau05pgx
No-Library (pure JS), HTML, CSS, JavaScript
-
Calculate SVG path length to a specified point
Answer to SO question: http://stackoverflow.com/questions/28797761/in-d3-js-is-there-any-way-to-get-the-path-length-at-particular-point We draw a new sub-path to calculate the length to a point part way along the full path
-
8qjpwozt
jQuery 3.4.1, HTML, CSS, JavaScript
-
ruq2k09k
No-Library (pure JS), HTML, CSS, JavaScript
-
Force Vector Split :: III
Shows how a force vector is split into linear and rotational forces based on the distance from the polygon center and the angle of the force from said center. Then pushes the shape based on these vectors. You can now choose the point and angle of the force. As far as I can tell, the linear motion seems to agree with my paper calculations. Rotational motion is harder to figure, but it seems correct, assuming my torque calculations are not in error. It seems that the poly does what it intuitively would do, given its mass and the size of the force.
-
Force Vector Split :: II
Shows how a force vector is split into linear and rotational forces based on the distance from the polygon center and the angle of the force from said center. Then pushes the shape based on these vectors.
-
Force Vector Split :: I
Shows how a force vector is split into linear and rotational forces based on the distance from the polygon center and the angle of the force from said center.
-
Polygon Intersect
jQuery 1.9.1, HTML, CSS, JavaScript
-
Angular Momentum
No-Library (pure JS), HTML, CSS, JavaScript
-
Particles - Polygon Moment of Inertia
Now angular momentum seems to work. Changing mass makes moment of inertia change accordingly; higher masses mean rotation is harder. Can apply torque given an arbitrary value, but cannot apply torque based on a force vector.
-
Particles - Torque
No-Library (pure JS), HTML, CSS, JavaScript
-
Particles - Rain
This is a RW-accurate particle dropper. Particles have a random mass from 1 to 100 kg. This is denoted by their size. Since mass has no effect on gravitational pull, they all fall at the same rate. On death, the particles automatically respawn in a random position in the sky. This gives the illusion after a while of rain, since they all start at different times and different positions, though they all still fall at the speed of gravity, as it were.
-
u7uu55um
jQuery 1.9.1, HTML, CSS, JavaScript
-
Random Topic Generator
For conversation