Changelog for worldturtle-0.3.1.0
Changelog for turtle-haskell
v0.3.1.0
- Fixed longstanding bug where turtle rotation did not rotate at the advertised rate.
- Fixed longstanding bug where rotation did not accept negative values gracefully.
- Tweaked intial turtle rotation speed to 720 degrees/sec.
gotocommand now animates a transition.- Removed
setPositionfunction.
v0.3.0.0
- Upgraded to
lts-18.27. - Added
runWorld'andrunTurtle'variant commands which take a background color. - Deprecated
setPosition. - Added
jump, which is a variant ofgotowhich never draws a line. - Added
waitcommand, which is aTurtleCommandvariant ofsleep. - Added
labelandlabel'commands, which allows text to be drawn at turtle's position. - Added
repeatFormethod which is an alias forControl.Monad.replicateM_(this is purely to help ease students into Monad concepts.) TurtleCommandandWorldCommandare now instances ofMonadIO.- Major internal performance improvements.
SequenceCommand, is now aCoroutine. This reduces wasted calculations per-frame as the state of the previous frame can now be carried into the next frame of animation. - Removed
WorldCommandas an instance ofControl.ApplicativeandMonadPlus. This did not make sense in terms of parallelization. Instead,WorldComamndis now an instance ofMonadParallel - Introduced new
>!>operator for parallel animations. setPenDownhas been split intosetPenDownandsetPenUpto be more LOGO-like.setVisiblehas been split intosetVisibleandsetInvisibleto be more LOGO-like.- Added the
labelwait-exetest. - Updated examples to account for command changes.
- Removed
spaceleak-exetest.
v0.2.2.1
- Upgrading upper bounds of the lens package to allow for compilation with GHC 9.0.1.
- Regenerated
.travis.ymlto reflect new GHC supported version.
v0.2.2
- Upgrading to GHC 8.10.3 to resolve problems GHC compiler problems with Mac OSX. See here for details.
- Fixed issue where newly drawn lines were drawn under older lines.
v0.2.1
- Internally simplified the commands system to use a Maybe Monad for sequencing.
v0.2.0
- Split
TurtleCommandintoTurtleCommandandWorldCommandto help reduce boilerplate of having to apply a turtle to a command for every stage of a command block. - Added
runWorld,runTurtle,run, and(>/>)functions. circlecommand split intoarcandcirclecommands.- Fixed
shiftHueas function did not match documentation.
v0.1.2
- Added the
branchfunction.
v0.1.1
- Added
sleepfunction. - Added
rotationSpeedfunction. - Added the
shiftHuecolor function. - Fixed bugs in circle rendering when going in a clockwise direction.
- Fixed the bounds and potential recursion pitfall in internal normalization functions.
- If rotation left 270 degrees will not turn right 90 degrees and vice versa.
v0.1.0
Initial release.