Skip to main content

Questions tagged [collision-detection]

Use this tag for questions about detecting the intersection of two or more objects.

-2 votes
0 answers
37 views

Respected mathematicians, I would like to know if there is any GitHub repository that accurately converts SHA-family algorithms into SAT problems. So far, I found the SAT encoder by Saeed Nataj to be ...
pc gangroli's user avatar
1 vote
0 answers
70 views

Context: I'm making a video game with walls and objects that can go on (like a picture) or in (like a window or door) a wall. Objects that are in a wall make a hole in the geometry of the wall. For ...
BenLubar's user avatar
  • 123
1 vote
0 answers
31 views

Suppose we have a set $X$. For definiteness, let $X=\{0,1\}^l$ for $l \in \mathbb{N}$. Obviously, $|X|=2^l$ in such case. Let $f:X^s \times X^n \to X^n$ be a function. Let $f_i : X^s \times X^n \to X$ ...
Georgii Firsov's user avatar
1 vote
0 answers
62 views

I am looking for an approximation of \begin{align*} P(x)=1-\prod_{i=1}^{\pi(x)}\frac{p_i^2-i+1}{p_i^2}, \end{align*} where $p_i$ is the $i$th prime and $\pi(x)$ is the prime counting function. This is ...
optimal benis's user avatar
0 votes
2 answers
140 views

I need to find how distant the center of an orthogonal rectangle is from the center of a circle, given a specific angle. The dimensions of the rectangle are proportional to the circle radius, so they ...
musicamante's user avatar
0 votes
0 answers
52 views

I'm trying to study and test 32-bit hash functions - specifically probability of collision (repeated results for different inputs). And I'm struggling in defining a threshold for outliers/anomalies, ...
bryc's user avatar
  • 101
0 votes
0 answers
160 views

I'm trying to determine if two particles collide within a certain period of time in a 2D container. Given the positions and velocities of the particles, I know a formula to determine if there is a ...
Trom's user avatar
  • 26
1 vote
0 answers
47 views

I do not know, fellows, how best to describe my problem. But I will try my best. I think this question is more for mathematicians than programmers. There is 2 objects (fig.1): One object is a wall (...
Alex NJ's user avatar
  • 107
1 vote
1 answer
464 views

Let's suppose I have two spheres of equal radii in a 3D space, one that's moving along a straight line with a constant speed, and one that's stationary, as such: Where $d$ is the straight line along ...
Runsva's user avatar
  • 161
0 votes
0 answers
189 views

I have a rotated retangle and a rectangle. Both are defined by their corners (however, for the non-rotated ones I also have access to topLeft, topRight, etc). Is there a way I can check if they ...
Fabrizio's user avatar
  • 113
0 votes
1 answer
97 views

Consider a random function, from $\{0, 1\}^n$ to $\{0, 1\}^n$. For a particular string $y^{*} \in \{0, 1\}^n$ in the image of the function, in expectation over the randomness, how many strings in the ...
RandomMatrices's user avatar
0 votes
0 answers
152 views

I'm doing some research on my own to find a method to check if two ellipses intersect. So let's say we have the fallowing two general equations: $$ ƒ_{1}\ :\ A_{1}x^{2}\ +\ B_{1}xy\ +\ C_{1}y^{2}\ +\...
Carlo Moretti's user avatar
0 votes
1 answer
112 views

There are two objects on a plane: a stationary object P1 and a moving object P2 moving at a known costant velocity vector v2. I also know the relative position vector d. img1 I want to calculate the ...
Krystof Bresky's user avatar
0 votes
1 answer
78 views

Based on birthday paradox; Let $d$ be the set of elements randomly chosen from a set of $n$ distinct elements then a) What is expected number of unique elements in $d$ (remaining will be repetition of ...
crypt's user avatar
  • 143
5 votes
1 answer
322 views

I am looking for an elementary proof of the fact that expected time for finding a colision with $n$ bins is $\sqrt{\frac{\pi n}{2}} + O(1)$. The proof that I knows relies on the asymptotic expansion ...
Kolja's user avatar
  • 3,032

15 30 50 per page
1
2 3 4 5
10