Code Monkey home page Code Monkey logo

matthew-android's People

Contributors

easytarget2000 avatar

Watchers

 avatar  avatar

matthew-android's Issues

Add bitmap functionality

Allow the user to put in a width and height of a target image and retrieve a bitmap after painting shapes.

Automate colour palette creation

In #4 and #10, the palettes were populated like this:

  • Visit materialpalette.com
  • Select two colours
  • Copy "dark primary color", "light primary color", "primary color" and "accent color" into a 4 item array in the Resources file "array.xml"
  • Name the array after the two colours, e.g. "material_color_palette_blue_amber"
  • Add the array to the array of Resource IDs, "material_color_palettes"

This process has been done manually so far, but seems like a candidate for automation.

Add polygon & rectangle drawer

Implement the ability to draw polygons with 3 to 8 edges. The position of the polygons should be given from the centre of the shape. The position the shape should be given on a pixel scale and a grid scale.
Example: A typical grid size is 8. In this case, a 1000x1000px image will be divided into a grid of 8x8. One unit of this grid will be 125x125px large. The polygon drawer can then be told to draw a polygon that is 4 grid units wide at the grid position 3,4. This polygon will be 500px in diameter and centred around the point 375, 500.

TBD: The relationship between diameter and the actual polygon side lengths.

Goals:
http://ginva.com/2016/10/material-design-wallpapers/
https://s1.funon.cc/img/thumb/201809/12/5b999b9fc44d0.jpg
https://s1.funon.cc/img/thumb/201809/12/5b999b9fc44d0.jpg

Handle null availablePalettes gracefully

kotlin.UninitializedPropertyAccessException: lateinit property availablePalettes has not been initialized
at eu.ezytarget.matthew.ColorSource.getAvailablePalettes(ColorSource.kt:9)
at eu.ezytarget.matthew.Matthew.selectRandomPalettes(Matthew.kt:69)
at eu.ezytarget.matthew.Matthew.configuredBitmapBackedCanvas(Matthew.kt:37)
at eu.ezytarget.matthew.Matthew.configuredBitmapBackedCanvas$default(Matthew.kt:33)

Replace Kotlin Random with wrapper class

During the development of Micopi for Android - Matthew Rework, a wrapper class to Kotlin's kotlin.random.Random was required. This class should move into this library. This is also a good step towards better abstraction.

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.