Christopher Gallegos (@Chrispykins) header
Christopher Gallegos (@Chrispykins) profile picture

Freelance game dev. Interested in math and music. Check out Sol: https://teapawt.net/t.co/up1JEOOfud

Seattle, WA
Joined March 2016
Photo by Christopher Gallegos (@Chrispykins)Photo by Christopher Gallegos (@Chrispykins)Photo by Christopher Gallegos (@Chrispykins)Photo by Christopher Gallegos (@Chrispykins)Photo by Christopher Gallegos (@Chrispykins)Photo by Christopher Gallegos (@Chrispykins)Photo by Christopher Gallegos (@Chrispykins)Photo by Christopher Gallegos (@Chrispykins)Photo by Christopher Gallegos (@Chrispykins)Photo by Christopher Gallegos (@Chrispykins)
Made a lava lamp shader for Unity. It's not a real simulation, just an artistic effect using clever tricks to fake the lighting and a "temperature" property for the blobs to make them rise when they get to the bottom and fall after they "cool down" at the top. ↓ Code Below ↓
1
153
The most genius mathematician in 200 years: Yeah man, you can't count the reals, every scheme you come up with will fail Some random software developer in 2026: ah, but have you considered floating point precision
I think I just came up with a way to have the uncountable set of real numbers (aleph-one) to actually be countable. I had this idea after taking the hottest shower of my life. Now I am dumb but I was thinking about how rational numbers are in fact countable. You do this by going through a 2 dimensional grid of natural numbers and you traverse it like a sneaky snake diagonally. thus you get 1/1, 2/1, 1/2, ... and so on. But you cannot do this with real numbers because irrational numbers cannot be represented by a fraction. But this bothered me because in some sense you can represent a lot of real numbers via computer bits and computer bits are in fact walkable. So why are they not a countable infinity... Then i thought, ok what if you started off with an 8 bit floating point number. Now this would represent some small set of all possible real numbers. But you could theoretically go through all of those numbers. They are countable. Then I thought, well... wait a second, that approximates some of the real numbers. If you go to 16 bit, you approximate more. The thing that makes the rational number thing work is that you just have to see how you could walk it infinitely, thus its countable. If all real numbers could be represented eventually by having a bigger and bigger floating point representation of numbers, couldn't there exist a countable solution to this? byte_size = 1 while (true) for byte_size ** 8 count_this_real_number byte_size += 1 ... wouldn't all any and all real numbers eventually be counted? 1. no I am not high 2. yes I understand I am a moron 3. I just always found the fact rational numbers countable but irrational numbers not so bothersome ... 4. I didn't proof read this
8
Maybe I should finally learn Godot...
Introducing Unity Spark — a new way to create a game, iterate on it with others, publish it, and play it - all without writing a line of code. You'll build with artist-created assets from the Unity Asset Store, and then you can take your game to the next level by refining it in a new web-based editor. Prompt it. Perfect it. Publish it. Inspired games, with artist-created assets, built on Unity. Closed beta coming soon.
6
The foundation of math is NOT computational. The exact reverse is true.
The foundations of physics are ultimately mathematical, the foundation of math are ultimately computational, and the foundations of computation are ultimately physical.
29
UE6 should ditch UMG and replace it with HTML and CSS. AI is unbelievably good at frontend web development. We can take all the improvements for web generation and apply it to game UI and menus.
38
Humans in real life don't have "HP"
You can tell the developers of a game have no idea how guns work whey they do shit like this:
1
37
Christopher Gallegos retweeted
People outside tech starting to realize how quality software and typing/generating code fast are not correlated
Most of my programmer friends tell me that chatbots are a massive improvement and their work is now far far more efficient. As a consumer I have noticed literally no change whatsoever in the quality or price of chatbot-assisted software. What's going on here?
73
384
43
4,457
334,321
variable = changed at runtime constant = set at runtime then doesn't change static = set at compile time then doesn't change anything else is a mental illness
You guys do realize how schizophrenic "immutable variable" sounds like?
61
One side-quest on this journey was finding this funny little function in the source code which projects a point along the z-axis onto the objects xy-plane The best way to do this is obviously... a raycast😂 But make sure you do two because the plane could be behind the point too
Spent the last few days banging my head against the seemingly simple problem of trying to replicate Unity's gizmo for their CapsuleCollider2D. Would not recommend to anyone who values their sanity.
1
49
Come on guys, what are we doing here? Just express the plane as a function of x and y...
16
Spent the last few days banging my head against the seemingly simple problem of trying to replicate Unity's gizmo for their CapsuleCollider2D. Would not recommend to anyone who values their sanity.
1
65
The existence of euclidean zoning implies the existence of non-euclidean zoning
Makes me think we should abolish Euclidean zoning
59
Christopher Gallegos retweeted
It’s time for you to learn shaders
56
39
4
755
59,098
A simple mental image I use to understand the concept of independence in probability: It's like a Punnett square where the areas represent the probability of an event happening. Independent events are ones that can be aligned within the square.
1
33
Also helps remember that P(B and R) = P(B) * P(R) only when the events are independent because the sides of the B and R rectangle are aligned with the lengths labelled B and R.
21
Christopher Gallegos retweeted
I might have cooked #pixelart
58
667
5
7,802
237,046
Christopher Gallegos retweeted
Q: "why should I care about math?" WRONG: "because you'll use it in everyday life" WRONG: "a lot of jobs require it" WRONG: "it improves how you think" WRONG: "it's like an art form" CORRECT: "you'll be granted divine sight"
8
35
3
655
12,113
This graph is very funny to anyone who knows what a second derivative is: Concave up Concave down Concave up Concave down etc...
This quoted post is unavailable.
46
My favorite moment in any mathematical derivation
20
Christopher Gallegos retweeted
Still workin on the fractal stuff
10
13
1
616
9,848