Skip to content Skip to sidebar Skip to footer
Showing posts with the label Geometry

Rotating Icosahedron With Circles Located At Every Vertex In Three.js

I have an icosahedron mesh which I am rotating and then adding circle geometries and setting their … Read more Rotating Icosahedron With Circles Located At Every Vertex In Three.js

Calculate Distance To Move A Box To Remove Intersection

I have two boxes that are overlapping and I want to figure out how to move one to remove the inters… Read more Calculate Distance To Move A Box To Remove Intersection

Find Rectangle Boundary Point At An Angle From Point That Is Not In The Middle Of The Rectangle

I am trying to display where, in a rectangle, is player aiming in my game. He's in such a squar… Read more Find Rectangle Boundary Point At An Angle From Point That Is Not In The Middle Of The Rectangle

Get Heading And Pitch From Pixels On Street View

I think this is the best place for this question. I am trying to get the heading and pitch of any … Read more Get Heading And Pitch From Pixels On Street View

How To Calculate The Centre Point Of A Circle Given Three Points?

I am using Javascript and I know the positions of 3 points. I wish to use these to find out the cen… Read more How To Calculate The Centre Point Of A Circle Given Three Points?

Draw A Filled Polygon Using Scanline Loop

I'm trying to draw a filled polygon using individual pixels in a scanline loop (so no lineTo or… Read more Draw A Filled Polygon Using Scanline Loop

Is This Code For Determining If A Circle And Line Segment Intersects Correct?

It's apparently very hard to find the answer to whether a line segment and circle intersect. Fo… Read more Is This Code For Determining If A Circle And Line Segment Intersects Correct?

How Do I Effectively Calculate Zoom Scale?

I have a draggeable image contained within a box. You can zoom in and zoom out on the image in the … Read more How Do I Effectively Calculate Zoom Scale?

Circle Collision In JavaScript

For school I need to make a program in JavaScript that says if circles had a collision. It doesn… Read more Circle Collision In JavaScript

Calculate The Point Of Intersection Of Circle And Line Through The Center

How do i get the point of intersection of a line and a circle.. I got lots of information on this t… Read more Calculate The Point Of Intersection Of Circle And Line Through The Center