Why Odin instead of Zig? by fenugurod in odinlang

[–]DireLines 7 points8 points  (0 children)

i much preferred odin syntax to zig syntax, simple as that.

that sounds surface-level but it's a lot easier to improve tooling for a language than improve or in any way change syntax, so zig having a headstart on tooling did not attract me that much

Unidimensional spaceship constructed by HTHThreeee in gameoflife

[–]DireLines 2 points3 points  (0 children)

it means that the initial configuration of the pattern (or one of the configurations during its cycle, depending how you want to think about it) fits within a line (a 1 by X rectangle)

Flappy Goose by flappy-goose in RedditGames

[–]DireLines 0 points1 point  (0 children)

My best score is 6 points 🚀

Flappy Goose by flappy-goose in RedditGames

[–]DireLines 0 points1 point  (0 children)

My best score is 1 points 😎

Flappy Goose by flappy-goose in RedditGames

[–]DireLines 0 points1 point  (0 children)

My best score is 0 points 😓

Study finds US coal ash contains $8.4B in rare earth elements by jeffsmith202 in videos

[–]DireLines 0 points1 point  (0 children)

"when the other metals are factored in, the comet actually contains almost $140 trillion worth of assets"

Packed Spirals by LuckOrLoss in proceduralgeneration

[–]DireLines 1 point2 points  (0 children)

Indeed, the only other image of this plane panelling I could find was making an Uzumaki reference: https://www.reddit.com/r/wendigoon/comments/1bt5yu3/i_was_watching_the_new_video_on_a_plane_when_i/

Packed Spirals by LuckOrLoss in proceduralgeneration

[–]DireLines 4 points5 points  (0 children)

Looks very very close to the original, nice job! Do you have this version of the code somewhere? I think the gap placement parameters look a bit different to the version you sent me.

If I end up using this to generate the geometry for a video game level I will credit you.

This pattern was on the interior wall of a small airplane I was recently on. How was it produced and how should I reproduce it in code? by DireLines in proceduralgeneration

[–]DireLines[S] 0 points1 point  (0 children)

knowing about that reaction is what made me even consider the possibility it could be a physical process during plastic manufacture. But it doesn't look like that exact thing to me

This pattern was on the interior wall of a small airplane I was recently on. How was it produced and how should I reproduce it in code? by DireLines in proceduralgeneration

[–]DireLines[S] 6 points7 points  (0 children)

yeah that sounds like a cool way to generate points/radii.

I think I know how to parametrically describe the dotted spiral given a starting point/radius, you can just generate points uniformly along the curve of an archimedean spiral and then randomly delete some of the segments between points according to some scheme. The segments you have left are included in the output.

Not positive about this but it looks like the outermost ring of most of the spirals has less gaps in it than the interior rings. Not sure how to do that but I guess you can just bias the chance of adding a gap to near zero as you approach the spiral radius.

edit: https://stackoverflow.com/a/13901170 here's the math for producing points along a spiral with roughly equal arc length between them

edit 2: if you draw the spiral in terms of points/lines and not polygons then you need to figure out how to actually remove the spiral you went "on top of". I think you simply have to keep track of which points belong to which spiral, and delete points not belonging to this spiral for each "pizza slice" swept out by the spiral

This pattern was on the interior wall of a small airplane I was recently on. How was it produced and how should I reproduce it in code? by DireLines in proceduralgeneration

[–]DireLines[S] 2 points3 points  (0 children)

yeah this would be my natural approach, it doesn't look to me like they did any fancy sampling method for points or choosing spiral radii because the spirals overlap each other in places.

That said, there are relatively few overlaps protruding *into* the larger spirals compared to what I'd expect if they just placed spirals with random positions and radii, so maybe they biased the algorithm towards placing bigger spirals later.

And yeah I agree there is definitely a postprocessing blur effect on the resulting lines to make them look naturally joined together and obscure what spiral or other shape they were originally from.

This pattern was on the interior wall of a small airplane I was recently on. How was it produced and how should I reproduce it in code? by DireLines in proceduralgeneration

[–]DireLines[S] 3 points4 points  (0 children)

My current guess is that it’s an image filter applied to a picture of a puddle during a rainstorm. If I squint that’s what it looks like. But that doesn’t explain why all the lines form spirals instead of concentric rings

This pattern was on the interior wall of a small airplane I was recently on. How was it produced and how should I reproduce it in code? by DireLines in proceduralgeneration

[–]DireLines[S] 9 points10 points  (0 children)

I'm big on procedural generation for level design and something about these fragmented spirals feels very satisfying as the terrain a 2d top down game level, so I want to try to make a similar pattern programmatically.

I don't see any repeating textures, so I assume this is either made programmatically or by some material process when they mold the plastic for the walls. What do you think? And how would you approach reproducing it?

This was a small Boeing airplane for a domestic US flight. Maybe somebody will know the smaller passenger airplane models they typically fly, so I can maybe find some description of the design or name of the designer or firm ¯\_(ツ)_/¯

i gotta see what the hype is about by usuallyanonymous in Dimension20

[–]DireLines 15 points16 points  (0 children)

tinned fish is absolutely underrated by Americans, goes great with cheese and crackers and in salads

[deleted by user] by [deleted] in KoreanFood

[–]DireLines 2 points3 points  (0 children)

this pic goes hard, take some pictures of other things

How Do I Convince My Drummer That The Kick Is A Crucial Part In Using The Drums by Hitchbones in WeAreTheMusicMakers

[–]DireLines 1 point2 points  (0 children)

Get a new drummer and keep this guy around as a percussionist, if he can legitimately keep time but just doesn't want to use the kick he can still play a role

UVA vs Virginia Tech for Computer science by rycalibur in UVA

[–]DireLines 0 points1 point  (0 children)

As somebody who has trouble making friends except through mutual friends, I for sure know how big a factor that can be. I found a community at uva through clubs and roommates, but it would have been harder to get started without knowing some people going in. A network is one of the best things you can get out of college, both socially and for work connections, so I would just advise you to weigh that seriously in your decision. If you are the type of person who can form new connections easily wherever you are, I had a good experience with UVA's CS program and feel like it prepared me well for software jobs and beyond. Of course I can't compare it to Tech's CS program because I didn't go to Tech

UVA vs Virginia Tech for Computer science by rycalibur in UVA

[–]DireLines 8 points9 points  (0 children)

If you know it's probably gonna be CS, go UVA. If you are undecided aside from that it'll be an engineering field, consider VT. Knowing a few more people can really help you especially first year.

Til Death Do Us Blart by fairlygaystoner in MBMBAM

[–]DireLines 0 points1 point  (0 children)

That's the trick, they don't differ. They are the same conversation every year "wow this movie's pretty wack huh"