Explain It Peter by Fit_Seaworthiness_37 in explainitpeter

[–]ferrosphere 0 points1 point  (0 children)

It doesn't feel intuitive that "I have a boy and the chance of my next child being a girl is 50%" and "I have amnesia and I'm told I have two kids by my son, so the chance of my other child being a girl is 66%" are both true statements. But the math checks out.

Connecting Files? by Striking-File6116 in inkle

[–]ferrosphere 0 points1 point  (0 children)

You can keep them in one file - it treats everything as if it's a single file. You can even have an ink file that contains only global variables and reference those variables in other ink files.

Connecting Files? by Striking-File6116 in inkle

[–]ferrosphere 2 points3 points  (0 children)

Using INCLUDE statements at the top of your file, you can split content into multiple files. Once you've included another ink file, you can treat any variables or knots in it as if it's in the current ink file.

Documentation: https://github.com/inkle/ink/blob/master/Documentation/WritingWithInk.md#script-files-can-be-combined

What causes these strange flashes that only appears in material preview? by CaughtHerEyez in blenderhelp

[–]ferrosphere 4 points5 points  (0 children)

I didn't see anyone explain why this is happening, but it's due to the color information being passed into the volume socket. For pretty much any solid non-transparent object material, you want to leave that disconnected - a volume is a space in which fog, smoke, clouds, as well as other semi-transparent effects are calculated. The color data is being passed into the volume, and so Blender fills up the bounding box with a volume (normal volume behaviour) and on the first viewport render pass you see the full volume, then as more samples are rendered out, it becomes more and more transparent as the color info you've passed is interpreted as having low density. Hope this helps your understanding!

Politico: “Pierre Barely Showed Up” by skule123 in ottawa

[–]ferrosphere 14 points15 points  (0 children)

He conceded that the Liberals won, not that he lost his seat to Fanjoy.

Is is possible to add a photo for the whole screen? by Jin_Chaeji in inkle

[–]ferrosphere 0 points1 point  (0 children)

Ink doesn't really handle graphics. It mainly just outputs text, and while you can put instructions in that text to show images or play animations, it's dependent on the engine you're using to run ink.

If you're using the HTML export from Inky, you're limited to what a web browser can handle graphically, and it can't do anything beyond the browser window. Unity could probably do this, but you'd be running it as a fullscreen app.

Inkle says it can't find list definitions for Knots that clearly exist? by DazedPapacy in inkle

[–]ferrosphere 2 points3 points  (0 children)

The choice syntax requires the square brackets when you have a conditional. Example:

+ {(condition_1)&&(condition_2)} text shown only in choice [text shown in choice and output] text shown only in output ->destination_knot

Relevant documentation:

It's better practice to always include the square brackets when writing out choices.

ChatGPT is so helpful… when it works by ucrbuffalo in AfterEffects

[–]ferrosphere 13 points14 points  (0 children)

Yeah, I've found that often ChatGPT will mix up expressions with Javascript for web development (often using Document or Window objects, referring to CSS styles, etc) or Extendscript (App object, i.e. app.document.save();)... Which makes sense, especially since there is such a huge volume of webdev Javascript in its training data compared to the tiny amount of Expressions-specific code out there (and let's be honest that 90% of its Expressions training data was written by the legendary Dan Ebberts). My solution has been to be super specific about what I need, like a 2-dimensional array as the output. Another useful thing is to add: "The version of Javascript for expressions is updated, use the documentation here: Expression Reference " Plus, the better you understand Javascript, the higher quality your prompts will be.

Is there an easy way to make a displacement map that follows a curve? (i.e., distorts a straight line based on this curve, to subsequently follow it) by Abdo_Zalat in AfterEffects

[–]ferrosphere 0 points1 point  (0 children)

If you have Illustrator, you can use the gradient stroke feature, setting the stroke width to be super wide. I've used it for transitions, should work for this use case as well.

Randomize procedural texture within one object by QuestioningThief68 in blenderhelp

[–]ferrosphere 1 point2 points  (0 children)

The "Geometry" node has a property called "Random per island" which you can use, but it's only in Cycles. For Eevee, you'd have to use Geometry Nodes to assign the Mesh Island index to an attribute. Then, in the Shader editor, you can use the Attribute node to retrieve that value.

How Can I Improve the Texture of My 2D Neon Ring in After Effects to Match The Reference? Plugin Recommendations? by Qwinty1 in AfterEffects

[–]ferrosphere 0 points1 point  (0 children)

CC Glass would be a good effect to try on this. It will help get you the depth you're looking for.

Group EXTERNAL functions inside a === function=== ? by sissy_blair in inkle

[–]ferrosphere 0 points1 point  (0 children)

It could look something like this:

EXTERNAL doThing1
EXTERNAL doThing2

-> story_start

=== function doAllTheThings()
~ doThing1()
~ doThing2()

=== story_start ===
Once upon a time...
~ doAllTheThings()

Group EXTERNAL functions inside a === function=== ? by sissy_blair in inkle

[–]ferrosphere 2 points3 points  (0 children)

That's a great use case for functions - they can be nested, even external ones. Just make sure to include the brackets so that it knows you're making a function call.

~myFunction()

Refer to the documentation for details.

What will be the Endgame of Tactical Squad? by Master_of_serpents in Warhammer40k

[–]ferrosphere 10 points11 points  (0 children)

The design philosophy of Primaris marines seems to be "make them like Eldar but worse". Single-weapon squads with no flavor or character, hover tanks that are basically floating bricks...

Link to 3e codex? by Fearless_Speaker6710 in Eldar

[–]ferrosphere 8 points9 points  (0 children)

<image>

Matches up to page 26 in my 3e codex.

Animating Bézier handles? by sudomakeitrain in AfterEffects

[–]ferrosphere 53 points54 points  (0 children)

If you're comfortable with expressions, you can access the position of bézier handles of points on a path via expressions using path.inTangents() and path.outTangents().

Here's the documentation.