easytarget2000 / matthew-android Goto Github PK
View Code? Open in Web Editor NEWAn Android library that draws material-styled images
License: GNU General Public License v3.0
An Android library that draws material-styled images
License: GNU General Public License v3.0
During the development of Micopi for Android - Matthew Rework, a feature for this library was developed.
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
Add variation of configuredBitmapBackedCanvas() that takes Resources as a parameter. The Resources Parameter will be used to populate the colour source.
Allow the user to put in a width and height of a target image and retrieve a bitmap after painting shapes.
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)
In #4 and #10, the palettes were populated like this:
This process has been done manually so far, but seems like a candidate for automation.
Create a class MatthewView inheriting from the Android SDK's "View". Useful for sample module.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.