video using fresnel

27 views
Skip to first unread message

jude vishnu

unread,
Apr 12, 2023, 2:26:22 AM4/12/23
to fresnel-users
Dear all,
Is it possible to have a video of trajectory created by Fresnel?
Is there a documentation for this?

Regards,
Jude

bdic...@gmail.com

unread,
Apr 12, 2023, 2:32:35 AM4/12/23
to fresnel-users
Hi Jude,

Yes, this is possible. I have done it before but I no longer have the scripts available. You'll want to search for something like "PIL images to video". Render each frame of the video with fresnel, then use PIL (as shown in the tutorial on saving output) to write an animated file.

Here are some pages with examples using various libraries (PIL, cv2, imageio):

Best,
Bradley

Joshua Anderson

unread,
Apr 12, 2023, 7:43:11 AM4/12/23
to fresnel-users
Those all look like good options. Here is one more option to consider: moviepy (https://pypi.org/project/moviepy/)
------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan

--
You received this message because you are subscribed to the Google Groups "fresnel-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fresnel-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fresnel-users/599d425d-48e3-4821-872f-da8e9031109an%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages