Git Product home page Git Product logo

primaplay's Introduction

Prima Play

A re-written version of my image generation library Prima, with extra focus on modularity and ease of use.

How it Works

Basic concept

An image held in a computer is made up of pixels. Each pixel holds a Red, Green, and Blue value. The concept of Prima is similar, except instead of holding Red, Green and Blue values, while an image is being generated in Prima each pixel stores a Vector. A Vector is a mathematical description of direction and magnitude, and is expressed as coordinates, e.g (0, 1) or (-3, 5).

Why this is useful

Since Prima stores each pixel as a Vector, mathematical functions can be applied to these values to transform them. These functions can be, for example, trigonometric functions, complex plane transformations, or any other computable transformation that can be conceived. This allows for extreme flexibility and modularity, to create unique animated and static textures.

Contributing

Prima Play is currently in its infancy, however the only thing that has changed from the original Prima library is the mechanism by which the components interact. The majority of the code for transforming the images will be identical. Therefore, I have written a CONTRIBUTING.MD file and added a few issues to the Prima Play github. If you want to contribute I am very happy to assist with the understanding of the program, and hopefully you will have ideas I have not been able to come up with. If you have questions or want to join the project, please join my Discord server at http://discord.gg/s76zUPR . I hope to see you there :)

primaplay's People

Contributors

tiggerbiggo avatar

Watchers

 avatar

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.