I was recently asked if there was a way to use Xojo Canvas Graphics to draw using the math X-Y coordinate system. First a little background. In Xojo (along with Java, .NET and many other languages), graphics are drawn where (0,0) is at the top left, X increases to the right and Y increases down. Other languages or APIs (Cocoa, for example) use a system where (0,0) is at the bottom left, X increases to the right and Y increases up.
Comments closedAuthor: Paul Lefebvre
How do you compute a massive number raised to the power of another huge number, modulo something else? Use Xojo to solve
Comments closedThe Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. You’ve probably seen this around in some form or another, but I ran across it again recently and thought it would be fun to implement in Xojo.
Comments closedAs part of XDC Anywhere, the Xojo Engineering team takes your questions.
Comments closedWith Xojo 2022 Release 1, you can use XojoScript to create Code Assistants for use with selected text in the Code Editor. Here’s a quick example of one that swaps the prefix of a comment:
Comments closedWith just a few lines of code, you can create a Xojo app for iOS and Android that shows a new cat picture each time you launch it. I call this app “CatsUp!”. It’s a play on ketchup/catsup, get it?
Comments closedEvery few weeks my son Lucas gets together with his friends for board game day. Last week’s game was Twilight Imperium. One part of the game includes rolling a 10-sided die to calculate whether one of your ships successfully registers a hit on your opponent. Apparently this is something that can take a while to do as each player amasses more and more ships. This was ripe for automation!
Comments closedThe Iterable and Iterator interfaces are a great way to simplify code. For example, what if you want to iterate through dates in a range?
Comments closedSometimes you want to display a message on your mobile screen, but also want it to disappear after a short period of time. A great way to do that is to use the MobilePopupMessage class.
Comments closed
