Giter Club home page Giter Club logo

shadertoy-exporter's Introduction

Shadertoy Exporter

Download the application for Windows, Mac OS, and Linux.

Features:

  • Fully support Shadertoy as it is embedded in a web view.
  • Saves frames directly as PNG images.
  • Can generate GIF and MP4 videos using the image sequence.
  • Configurable, persisting settings: resolution, FPS, filenames...
  • If the clipboard contains a shader URL at startup, opens it directly.

Screenshot

I used tdhooper's shadertoy-frame-exporter a lot. It's a great tool, but I felt some limitations: downloading lots of images in the browser can be annoying, settings have to be changed every time, and I had to manually convert the images into GIF or MP4 videos. This project solves these problems.

FFMPEG for GIF and MP4

In order to export either GIF or MP4 videos, FFMPEG must be installed. Download the package that suits you best (Windows and Mac OS packages will be downloaded from another site).

For Windows users: In the export settings, locate the ffmpeg application. It should be in the bin directory within where you unzipped the package. For instance, if you unzipped the package in C:\Tools, the path should look like C:\Tools\ffmpeg-20191231-a1b2c3-win64-static\bin\ffmpeg.exe.

For Mac OS users: In the export settings, locate the ffmpeg application. If your haven't installed ffmpeg on your Mac, you can install it through e.g. homebrew. By default, the ffmpeg is located at /usr/local/bin/ffmpeg. You can check it by which ffmpeg in your terminal. After successfully locating ffmpeg, the path should look like /usr/local/Cellar/ffmpeg/4.2.2_2/bin/ffmpeg depending on your installed version and how you installed.

For Linux and advanced users: the command is also searched in the PATH directories.

shadertoy-exporter's People

Contributors

dependabot[bot] avatar gh-action-bump-version avatar koltesdigital avatar ridgestd avatar tdhooper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shadertoy-exporter's Issues

Sync issues with audio sources

I was testing some shaders that use SoundCloud as audio sources and could see severe differences between the rendered movie and the live version (out of sync issues). Is this a know bug? Where can I start to look if I want to fix this?

not working on mac

Seems that this is not working on mac. I tried first to copy paste url from chrome : copy / paste it not working.

then I typed the full url and select a preset, clicked on "open shader" nothing happens. no error message.

Most gif FPS settings do not work

ffmpeg 4.2.2
I tried a lot of settings, but only 60 and 30 fps work for me.
The others get stuck on "Exporting PNG images" and never reach "Generating GIF".
The images themselves do get generated in the folder.

Memory usage keeps increasing linearly when exporting PNGs

I tried exporting some shadertoys at the highest preset ( 1920x1080 ) for more than 200 seconds.
The behaviour I have observed is that the memory usage increases linearly as time passes
until the point it consumes the whole of it and stops responding.

I am running it on Ubuntu 18.04

TypeError: c.resize is not a function

I tried running the shadertoy-exporter-1.4.0.exe on Windows 10, Java 1.8.
I get the error 'TypeError: c.resize is not a function' as soon as i click on export.

Shadertoy webgl canevas not redering anymore and code part is empty

Hello,

I noticed recently that when using shadertoy-exporter, if doing a new shader or going to an existing one, the website is loaded but the webgl cavenas doesn't run and the code part is empty.
It's making export impossible.

Noticed this on Windows and Ubuntu (18 and 20)

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.