Releases: swyddfa/arlunio
Releases · swyddfa/arlunio
V0.0.5b21 - 2020-02-24
Simplify, make better use of pillow (#193) **Images** - Use Pillow images throughout rather than our own `Image` abstraction (Closes #192 ) - The `encode` and `save` methods on our old `Image` class are now standalone methods - There's no longer any need for a `arlunio._color` module, we can make use of Pillow's modes **Other** - Use the `appdirs` module to find the location we save the tutorial to, no longer any need for an `arlunuio._config` module - Expose stdlib components at the `arlunio.lib` level
V0.0.5b20 - 2020-02-21
Fix definitions in lib.pattern, bring back ability to shift shapes (#…
V0.0.5b19 - 2020-02-16
Merge pull request #190 from alcarney/color - Add back the ability to pass in parameter values directly to definitions - Add `lerp` function to do linear interpolation - Add `clamp` function that can be used to limit values in an array - Add `colorramp` function that can map an array of values into a color range - Update tests and docs
V0.0.4 - 2020-02-15
Merge pull request #189 from swyddfa/develop New Release v0.0.4
V0.0.4b18 - 2020-02-15
Merging Shapes and Parameters, everything is now a Definition (#188) - The `shape` and `parameter` decorators are no more, both are now share a common codebase in the `definition` system - This does mean a small regression where drawing shapes no longer results in an image, but a mask. Although it feels like a step backward I hope this will lead to greater flexibility in the "second half" of the process of drawing an image - There is now an `arlunio.fill` function that can be used to recover the old behavior e.g. ```python import arlunio as ar from arlunio.lib.basic import Circle circle = Circle() image = ar.fill(circle(1920, 1080), color="ff0000") ``` - Parameter and Shape based entry points are no more, import what you need from `arlunio.lib.*` like a sane person - Renamed the `autoshape` directive to `autodefn` and realigned it to the definition system. - Updated the reference section of the docs to expose everything in the standard library **VSCode** - Collapsed all the tox related tasks into one that now allows you to choose the env from a dropdown list
V0.0.4b17 - 2020-01-26
The beginnings of the parameter system! (#185) - Add a formal parameter system to `arlunio` - Parameters are inputs to shapes that are dependent on the dimensions of the image being drawn. The typical use case for parameters so far has been to map a cartesian/polar coordinate system onto the pixels of an image in order for shapes to be defined w.r.t those coordinates. - The new system adds an `@ar.parameter` decorator that will automatically define parameters based on the decorated function. See `arlunio/lib/parameters.py` for examples. - Highlights of the new system + Like shapes, parameters can take attributes as keyword only arguments + Support for derived parameters - i.e. instead of `width` and `height` as the input we could take other parameters that have already been defined. Any attributes in base parameters are automatically exposed on the generated class for the new parameter **Future Work** - So far the new system has not been integrated with the shapes system **Other Changes** - Add a dedicated `.gitignore`d folder for scratch, experimental notebooks - Add VSCode task to launch notebook server in the scratch folder - Add VSCode launch config to debug the current test file - Tweak to some python specific VSCode settings
V0.0.4b16 - 2020-01-15
Import tweaks (#181) - Changing import style for shapes from ```python import arlunio as ar ar.S.Circle() ``` to ```python from arlunio import Shapes as S S.Circle() ``` Other functions like `arlunio.all()` should still be used with the `import arlunio as ar` style - Also ensured all the "core" modules follow a consistent naming convention
V0.0.3 - 2019-12-30
Merge pull request #175 from swyddfa/develop New Release v0.0.3
V0.0.4b15 - 2019-12-30
Merge pull request #176 from alcarney/bump-version Bump version, Python 3.8 support
V0.0.3b14 - 2019-12-30
Add the ability to load a notebook from a filepath (#174) - New `NotebookLoader.fromfile` classmethod that handles the specifics of importing a notebook from a given filepath - Added a `testdata` fixture that gives test code easy access to test data - Added some tests around importing notebooks