# Parallel programming loops

**URL:** <https://discourse.julialang.org/t/parallel-programming-loops/82284>\
**Category:** New to Julia\
**Created:** [June 5, 2022, 8:54pm UTC](https://discourse.julialang.org/t/parallel-programming-loops/82284 "2022-06-05T20:54:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![GHTaarn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ghtaarn/32/216007_2.png) [@GHTaarn](https://discourse.julialang.org/u/GHTaarn)\
**Post date:** [June 6, 2022, 9:18pm UTC](https://discourse.julialang.org/t/parallel-programming-loops/82284/4 "2022-06-06T21:18:48Z")

</div>

Okay, it still does not run in a newly started Julia, what I meant was something like the code shown below. Is this a good example of what you want to parallelize?:

```julia
using Plots, Random

x=collect(1:1000)
anim = @animate for ist=1:100
	y=rand(1000)
	scatter(x, y)
end
gif(anim,"rand.gif", fps=3)

```

I can’t answer this for you, but there was a post about it in 2020 [Animation with threads in Plots.jl?](https://discourse.julialang.org/t/animation-with-threads-in-plots-jl/33958) . I would recommend that you post in “General Usage” and see if anyone there can help. Use a title like “can I parallelize animated gifs?”.

---

_[View the full topic](https://discourse.julialang.org/t/parallel-programming-loops/82284)._
