Giter Site home page Giter Site logo

Comments (4)

jonathanhogg avatar jonathanhogg commented on June 9, 2024

Good news. I've merged support for offscreen rendering and added a few simple tests that create an engine, load a script that creates an output image, execute that script and then check that the output image is correct. See #37. This is now part of the GitHub workflow – so these basic engine functional tests will be executed on commit.

At the moment I'm only generating solid green outputs and confirming that the resulting bytes are correct. Next up would be adding support for comparing interesting output images to see how close the rendering is to the reference image.

from flitter.

jonathanhogg avatar jonathanhogg commented on June 9, 2024

As I've been writing documentation, I've been doing some diagrams in Flitter to explain certain functions' output (see builtins.md). I've now added tests to recreate these diagrams and compare them against the reference ones included in the documentation. Next step will be to add some images into the tutorial and do the same there.

Sadly all of this uses only 2D rendering, so I'll need to do some 3D examples. Probably the smart thing to do is to slightly rework all of the examples to be able to dump their output to an image file and then include reference images for each of the examples.

from flitter.

jonathanhogg avatar jonathanhogg commented on June 9, 2024

Tutorial images added and successfully tested.

from flitter.

jonathanhogg avatar jonathanhogg commented on June 9, 2024

I've got this working for the examples as well. So I'm calling this done.

from flitter.

Related Issues (20)

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.