Jump to content
You must now use your email address to sign in [click for more info] ×

Oxcar

New Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Oxcar

  1. On 3/24/2023 at 8:05 AM, Tim France said:

    Hi folks,

    I thought I'd give you a quick progress update and let you see some of things we've been working on at Serif Labs.  We now have a scripting core that we're reasonably happy with and have put together a little test area where we can run Javascript code, so I thought I'd show you some of that. Things to note:

    1. This is all VERY early, like pre-pre-pre-alpha.
    2. The JS API is extremely fluid and is constantly changing.
    3. This is not how the Affinity suite will run scripts and plugins; it is just a sandbox window for internal testing.
    4. There is still a huge amount of work to be done. I can't provide any timescales for when scripting will be publicly released, for Beta or Retail.
    5. Constructive feedback is welcomed, but I won't be able to answer all questions - see previous points.
    6. I'm not claiming any of these examples are particularly useful on their own; they're just to demonstrate some basic scripting functionality.
    7. Re Javascript async - yes, we support it, I've just not recorded anything yet. The sleep calls are there for screen-recording purposes only.

    Here are some demos as low-res gifs. If you want to take a closer look, movs are attached.

    Create a Mandelbrot image

    image.gif

    Some dodgy physics

    image.gif

    Insert a dragon curve

    image.gif

    "Emojification" (translation?) of text

    image.gif

    Create a grid of colours

     image.gif

    Select and hide based on hue

    image.gif

    Replay a document's edit history

    image.gif

    mandelbrot.mov 13.35 MB · 41 downloads

    balls.mov 6.73 MB · 21 downloads

    dragon.mov 3.34 MB · 18 downloads

    grid.mov 5.37 MB · 22 downloads

    hue.mov 2.1 MB · 22 downloads

    replay.mov 9.03 MB · 22 downloads

    emoji.mov 2.64 MB · 21 downloads

    This is GREAT NEWS !!

    Please, please, please ....

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.