3 ms·
> GitPitch is also seeing wide adoption across academia, particularly as a tool for delivering course materials, again right alongside the code. Okay, you peak
by tsumnia 10y ago
> GitPitch is also seeing wide adoption across academia, particularly as a tool for delivering course materials, again right alongside the code.
Okay, you peaked my interest. This is the slide (built via PowerPoint) that I use to explain a nested loop structure to CS1 students [1]. Explain to me, as an academic mind you, how I can recreate this without learning CSS animations / JS magic?
If I have to, that's fine, but all I'm asking is to make a circular motion animation. I'm demonstrating I can do that in 6 steps with PP; if technical knowledge is necessary, then it's a bit of a lie to say it can be widely adopted to academia.
[1] https://gfycat.com/UnselfishAcclaimedJellyfish https://gfycat.com/UnselfishAcclaimedJellyfish
- gitpitch 10y agoHi @tsumnia you can't use GitPitch to create animated graphics. There are lots of other tools for that. However you can use animated gifs within a GitPitch presentation, read about background images on the Image Slides page in the Wiki: https://github.com/gitpitch/gitpitch/wiki/Image-Slides https://github.com/gitpitch/gitpitch/wiki/Image-Slides Or if you have a series of images that combined present some kind of animation or workflow you can use those images as an animation sequence as described by Image Animation in the Wiki: https://github.com/gitpitch/gitpitch/wiki/Image-Animations-Workflows https://github.com/gitpitch/gitpitch/wiki/Image-Animations-W... Here is a link to a sample presentation that makes use of this feature: https://gitpitch.com/gitpitch/microservices-architecture https://gitpitch.com/gitpitch/microservices-architecture Do keep in mind, GitPitch is not trying to offer everything PowerPoint is capable of. Far from it. But it is trying to offer just enough, in a lot of use cases. But perhaps not yours.
- chatmasta 10y agoTotally unrelated, but doesn't that graphic become innacurate when the inner loop consumes an array of size size greater than that of the outer loop?
- tsumnia 10y agoNot quite sure what you meant with "inner loop consumes an array of size size greater than that of the outer loop" but I'd like to say no. In the graphic, we create two separate variables. The outer loop is only controlled through the X variable, meaning only when X is greater than or equal to 3 does it cease. If X started at a higher than 3 number, it doesn't run at all, but that's not the point of the example. The confusing part comes with the Y. Y is the controller of the inner loop, and only gets incremented when the Y loop iterates. Once the inner loop completes, it still has 2 more instructions to execute (that belong to the outer loop), so it does them. That last line resets the Y variable, so that it can run the inner loop the next time. It's actually a good question I ask as a follow-up. Suppose I delete the "y = 0;" line, how does that change how the loop behaves? At no point does my X variable manipulate my Y variable directly (through loops yes, but not like y = x * 2). Like if I went through an old fashion phone book or dictionary, there are 26 letters (outer loop), but each letter has a varying number of words (inner loop). Then it'd read something like while (x < 26) { while (y < NUMBER_OF_WORDS_STARTING_WITH_X) { y = y + 1; } x = x + 1; y = 0; // otherwise, Y never resets }