Support » Plugin: Fontsampler » Variable Fonts and Loop Animation

  • lucradesignstudio

    (@lucradesignstudio)


    Hey there!

    I really appreciate this plugin and love its super minimalistic style!

    I have some probably inspiring questions that possibly go way beyond support:
    Will there be a possibility to embed sliders in order to alter the weight of variable fonts in near future?
    Is there a possibility to animate sliders e.g. going from 10px to 42px in 5 seconds and back?

    Kind regards
    chris

Viewing 1 replies (of 1 total)
  • Plugin Author kontur

    (@kontur)

    Hey!

    Thanks for the positive feedback! Feel free to leave a rating 🙂

    One of the bigger changes coming to this plugin (whenever it is in the future that I have a week or so of time to work on it) has been implementing the Frontend UI from scratch. I have created a new Javascript library (Fontsampler-JS) for this purpose, and it supports Variable fonts and arbitrary axes: https://underscoretype.github.io/fontsampler-js/variable.html. Once this Frontend update comes to the Fontsampler WordPress plugin you can use Variable fonts to full extent.

    Animating a slider (or value, for that matter) is not something I would implement in the plugin as general option, but it is fairly easy to do with Javascript and/or CSS. You can animate the values of the underlying input html elements and trigger their ‘change’ event, or you can create custom CSS that animates a property of the input text area (without moving or animating the sliders). But be aware how that affects usability for your specific case, e.g. can users still type themselves, can the stop the animation, etc.

    Best,
    Johannes

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.