▲ 82 r/desmos

wasd movement controls in Desmos with Matrices!

Link: https://www.desmos.com/calculator/3r51xlbd0o

Thanks to matrices finally being added to Desmos graphing, we can assign the translation matrices to variables named w a s d to easily allow directional movement controls with a keyboard!

In the starting 3x1 matrix, you can replace that 1 with any other number to act as a multiplier for the amount of units moved per keystroke.

u/Danny_DeWario — 14 days ago

Question about when Eren did [spoiler]

When did Eren cut his leg and gouge out his eye?

I always thought it was in the trenches at the battle at Fort Slava. But later when Eren is talking to Reiner in the basement, it shows a memory of Eren with both eyes walking behind Reiner in the town after that battle. How is that possible?

u/Danny_DeWario — 1 month ago
▲ 25 r/desmos

Detect clicks in graphs

Link: https://www.desmos.com/notebook/qppwxfp3co/view

Not sure if anyone has done this before, but this can detect when you're clicking a graph.

I can't figure out how to do this without multiple tickers, so I think this can only be done in Desmos Notebook. If anyone can figure out how to do this with one ticker, then perhaps this can be done in a single graph!

One thing to note, the 'dt' variable isn't very accurate for multiple tickers in Notebook. Until that's fixed, this isn't able to accurately calculate how long a graph has been clicked.

u/Danny_DeWario — 2 months ago
▲ 46 r/desmos

Pixel Art has never been easier in Desmos!

Link: https://www.desmos.com/calculator/hlymmwccvo

(tap top left corner to switch between mobile/pc formatting)

Click anywhere on the graph to add a colored pixel! Comes with 3 modes for when you click a pre-existing pixel:

  1. delete selected pixel
  2. copy color of selected pixel
  3. recolor selected pixel

I was inspired by this post: New feature??? : r/desmos

This new feature is literally a gamechanger for making graphs more user-friendly. I'm excited to see what others can make with it!

A few caveats:

  1. The mobile app doesn't have this new feature yet.
  2. Screen movement won't work if you happen to first tap/click on a pre-existing pixel. Currently I'm not sure how to fix this without sacrificing some user controls. Desmos is still limited with how to prioritize which objects will register a click if they overlap.
  3. If it feels like adding a new pixel isn't being consistent, it's better if your mouse isn't dragging across the screen when trying to click to add a new pixel. Make sure your mouse is completely still.
  4. While using mobile (the website, not the app), it's often difficult to tap on empty spaces next to pre-existing pixels. This appears to be due to the borders of polygons having a larger interactive area than what's visible. So just be aware you may have to zoom-in to more easily tap on the empty space.

Let me know if you come across any glitches.

u/Danny_DeWario — 2 months ago
▲ 1 r/EPlan

Remove preceding signs and separators

I want to remove the preceding signs and separators for Location and Function designations, but it seems EPLAN isn't letting me change anything in those boxes. When I highlight the equals sign next to Function designation, nothing I do changes the equals sign to something else.

u/Danny_DeWario — 2 months ago
▲ 88 r/desmos

Game: Kill the Warden (demo)

Link: https://www.desmos.com/calculator/mgcd67vtmg

This is a demo version of a larger game I'm making.

Rules:

Move the x-shaped character around the map to activate all 11 switches. Once complete, a final switch will light up on the back of the warden. Hitting the switch will kill the warden and win the game! Make sure the draggable point is within direct line-of-sight to the x-shaped character or else it won't move.

I plan on adding more levels along with powerups and puzzles in the future. Feel free to comment any unique ideas you may have that I should add, or ways I could improve the game.

Pro-tip when using a mouse:

To make things easier for control, left-click and hold the draggable point, then right-click once (which opens the options window next to the mouse), then release the left-click button. Move your mouse somewhere off that window and scroll once. This will give full control over the draggable point without constantly needing to hold the left-click button.

u/Danny_DeWario — 3 months ago
▲ 144 r/desmos

Collision Detection with any polygon (including concave)

Link: https://www.desmos.com/calculator/dcnjjxnunc

A collision detector to see if a point is inside a polygon. Will work with any polygon with any number of sides as long as it's not self-intersecting.

Basically all it's doing is calculating the overall area of the polygon. If the player's point was added to one of the polygon's sides, the area should either grow or shrink. If the area shrinks, then the point must be inside the polygon.

Here's a link which better shows what I mean: https://www.desmos.com/calculator/ltktsq95pp

Not sure if this is the most efficient method, but performance seems very steady even with a 100-side polygon. Performance does seem to start slowing down after 200 sides.

u/Danny_DeWario — 3 months ago
▲ 20 r/desmos

Convex test for n-sided polygons

Link: https://www.desmos.com/calculator/ka5yfejfhs

(for self-intersecting shapes) Link: https://www.desmos.com/calculator/sot7xmdszl
(thanks to anonymous-desmos)

Been working on a larger project for finding the probability of a random n-sided polygon being convex. It got very tedious making a new function every time I added another side to a polygon, so I made a general function for any n-sided polygon.

I was originally inspired by this video: https://youtu.be/kSYvLFoIlQI?si=KLTTMHR0ucJtnntq

u/Danny_DeWario — 3 months ago

Why Eren's control over titans stayed for longer after contact ended with Dina than with Zeke

https://preview.redd.it/wypmzavmqedh1.png?width=1904&format=png&auto=webp&s=b441a5092d49cb892c8c1cdccf9e6e9f6bcdd3bf

I was inspired by this post's question: Why the titans stopped instantly in the finale?

The question was raised about why Eren's control over the titans stayed for longer after physical contact ended with Dina than with Zeke.

My theory is that Eren's control over the titans ended not when physical contact is severed, but when the person (or rather a titan) with royal blood died. With Dina, it ended when her nape was fully eaten. With Zeke, it ended when Levi killed him.

Because in Paths, distance plays no factor to how the Founder's powers work, it makes some sense that once a link is made between the Founding Titan and a titan with royal blood, that link stays until one side of the link is broken. Either the host of the Founder dies, or the host of royal blood dies.

reddit.com
u/Danny_DeWario — 3 months ago

Why didn't Karl Fritz take any of the other 8 titans into the walls?

If King Fritz truly desired to stop violence with titans, why didn't he forcefully take the other 8 titans into the walls and trap them in a crystal or something? Even if a crystal wouldn't work to perfectly restrict the 8 titans, the king can just eat them all so that he can pass on all 8 titans at once within the Reiss family.

This would completely stop any outside nation from causing more violence with titans... just like the King would want, right?

The only reason I can think is the king needed pure titans to always be around on Paradis to stop Eldians from desiring to escape the walls.

But an easy solution is to only bring 7 of the titans into the walls and leave the Tybers with the Warhammer. This way, Marley would always have access to titan serum, and the Tybers will never directly use the Warhammer for war (ironically) because that's how the Tybers always felt. Even if Marley used some pure titans to commit violence on neighboring nations, it's definitely a lot less violence than what we see when they have 7 titans under their control.

u/Danny_DeWario — 3 months ago

Why do the Wall Titans have short feet?

Do the wall titans have short feet so they wouldn't stick out of the walls?

It kinda makes sense because the Colossal Titan's feet aren't as short as the wall titans' feet.

I swear I haven't been staring at feet for hours.

u/Danny_DeWario — 3 months ago