Skip to main content

Posts

Python for Kids -- for Adult. Coding can be fun, give it a try.

Stumbled into this book at local library, amongst many others. Python coding examples in this book are really fun and the illustrations are great! Kids nowadays are so lucky (!). Adults with some spare time should enjoy this too! (hopefully). BOOK: Computer Coding Python Projects For Kids by Carol Vorderman https://www.amazon.com/Computer-Coding-Python-Projects-Step/dp/0241286867#:~:text=Book%20overview&text=Computer%20Coding%20Python%20for%20Kids%20uses%20a%20hands%2Don%20approach,have%20fun%20as%20they%20learn. Sometimes we make assumption that if one has access to library, Internet, or a great amount of knowledge,  then they will automatically be aspired to learn and discover more. Well, not always the case! Not everyone will be interesting to code after all. Even if everyone can code. Even as a geek, I think it takes a bit of some brain coordination and spare some time to find the one you most interested in and then really dig into it, to actually learn and have some tinker...

LIVENODING 1323 L-System Procedural Creature with ANSV Nodes

Using L-System node in Animation Nodes with SVerchok to generate random creatures. Use Mirror Modifiers and Voxel Remesh Modifier (2.83 and up).

"THE DEER", The Making Of

LIVENODING SV Parametric Curve and Surface

SV Special Introduction to Curve, Surface, Field Nodes of Sverchok addon...

In this video tutorial, I am giving my tips on how to learn to use Curve, Surface, Field nodes. These are NEW nodes that comes with latest SVerchok addon in Blender. It allows you to use NURBS like parametric nodes to generate mesh.

NODING CODING Let There Be Lights

LIVENODING SV Hodge Podge Voxel Remesher with Nodes

Let's Make Alien Flowers At Home Using Blender and SV Nodes

LIVENODING X Making Virtual MIDI and Synth Music With Blender

You will be needing a couple of addons and app: - MIDI input vmpk aka Virtual MIDI Piano Keyboard (or real physical keyboard you can plug into your computer) - AddRoutes - Audio Nodes - Sverchok

SWIFT PLAYGROUND / Simple Basic AR

Being able to code AR contents and experience very quickly and easily from iPad has always been my dream. Swift Playground app is simply the perfect candidate since we don't have XCode yet on iPadOS but we have this powerful coding app where we can code with Swift and interactively generate 3D Augmented Reality. And that's just one area that can help me to dig deeper into coding programming and eventually making a useful app. AR really presents users with the perfect immersive environment to create an interactive virtual 3D scenes and a lot more that they can simply drop into real life. The limit is only your imaginations. When Swift Playground AR capability paired with other AR app such as Reality Composer to quickly compose 3D scene, attach interactions, audio and behaviour, suddenly you have a very powerful setup for AR. And all can be done via the iPad. We are in luck however; Apparently we can already procedurally generate AR contents and experience since Swift 5.1 ...

SWIFT PLAYGROUND / QR Code Generator

This is a quick test to make QR Code Generator that will run on Swift Playground app on iPad. I sourced some of the code online from few forums. The resulting QR Image on "Playground Preview" is stretched, however it seems to still work when I am using iPhone camera to scan it. Ideally the Playground Preview should not be stretched like this and keeping the QR image square. Saving the QR Code itself is another mystery. The whole code is actually very simple, taking advantage of Core Image CIFilter "CIQRCodeGenerator" as below: import Foundation import UIKit import PlaygroundSupport let data = "https://youtube.com/c/jimmygunawan".data(using: .utf8) let filter = CIFilter(name: "CIQRCodeGenerator", withInputParameters: ["inputMessage" : data, "inputCorrectionLevel":"L"]) let ciimage = filter!.outputImage! let transform = CGAffineTransform(scaleX: 20.0, y: 20.0) let image = ciimage.transformed(by: tran...

ML / Using Turi Create for Machine Learning Style Transfer

A few days ago, I found out about "Turi Create" , basically a Python module, a tool from Apple that allows non-Apple computer user to generate MLM aka Machine Learning Model that can be integrated inside iOS app on iPhone and iPad. The cool thing about Turi Create is that you can also use it for your own purpose in processing data using Machine Learning. https://developer.apple.com/videos/play/wwdc2018/712/ As an additional note, at WWDC 2018, Apple also presented XCode Playground tool for MacOS that allows user to easily generate this MLM model for all kind of purposes. The process is as simple as drag and drop for Image Classifier. It is quite fascinating and worth watching the video. STYLE TRANSFER From what I gather after a short research, there are a few applications of Machine Learning that we can use in application such as for Image Classification, Graphing, etc but one that interest me in particular is STYLE TRANSFER using Turi Create: https://apple.gith...

LIVENODING 797 SV Texture Displacement for Compositor

SONICPI / Ruby, Python, MIDI and OSC

I have a big curiosity on how we can use OSC or MIDI to send message from one app to another app, potentially to generate (realtime) synth sound, visualization, and animation. This is especially a fun area and environment when we wanted to use CODE for CREATIVITY. Sonic Pi (by Sam Aaron) is one app I really love to use when dealing with Synth and Sonic generator. I remember using ChucK in the past by Ge Wang, ChucK is also cool, but Sonic Pi is a lot more friendly. http://sonic-pi.net Sonic Pi multi-threaded ness and LIVE LOOP is really something new for me. But Sam made it easy enough so that we could generate "listener" very easily. MAKING SOUND WITH CODE There are plenty of ways we can "trigger" Sonic Pi to generate sound. Obviously we can just use the built in RUBY language inside Sonic Pi app. Fairly simple and fun language to use and you can generate some noise in no time! Sonic Pi RUBY language documentation is really in depth and a full on progr...

SWIFT / Swift Playground on iPad Test

Using Apple  Swift Playground  for the first time is actually quite an interesting experience. There are so many different paths to get HERE, especially when nobody actually guides you. You might be on your own, but you can always try Google Search and look for example and video tutorials on YouTube. Over the past few years, Apple has introduced all these cool tools that probably confuse people at first, but actually make sense today in 2017. I really have to dig into older WWDC as far as 2013 and see what Apple is trying to do. As a total beginner to App Development environment and all kind of actual coding and building interface, control, logics, there are A LOT to make sense. SWIFT PLAYGROUND AS JUMPING STONES I think, THE MOST IDEAL path of actually getting into Apple XCode app development via SWIFT PLAYGROUND is like this: 1) Start with Swift Playground on iPad, not XCode! For beginner coders, whatever your age, maybe even for those who never code b...

IOS / ARKit and SceneKit Introduction

I am thinking to write a series of article blog on developing iOS app, but in term of experimental and educational level. No aim in particular, but I think documenting my baby steps with iOS app development might actually help others. MORE FUN THAN I THOUGHT Being exposed to Apple XCode for the first time (version 9 beta I am using) and Swift 4, and also iPhone capability to do Augmented Reality , really bring a whole lot of fun area I can explore. Even as 3D artist with little programming knowledge like me, I can say that it just takes a bit of effort and motivation to brave yourself and try the app creation. Even if you are not going to make paid app, the act to actually make your iOS device to work for you using your own custom app is amazing. Making program for desktop computer VS making apps for mobile device is a totally different set of skill, in a sense that for mobile device (comes with powerful camera, wifi, bluetooth, AR capable, GPS capable and a lot more) you hav...

IOS / File Sharing via iTunes and Files app (iOS 11)

Saving FILE / DOCUMENT that you generate using your iOS app is an interesting task when developing iOS App. Eventually you also want to know this ability. You can apparently very quickly save out text files, or output all kind of processed files, etc. into Document sandbox of your app, for later to be accessible via iTunes or NEW Files app (iOS 11)! WRITE https://www.hackingwithswift.com/example-code/strings/how-to-save-a-string-to-a-file-on-disk-with-writeto CUSTOM URL You need to prepare your URL Scheme for your app first. This will be handy at later stage. http://jayeshkawli.ghost.io/ios-custom-url-schemes/ PLIST Then we got to deal with PLIST attributions. This is pretty easy once understood. http://pinkstone.co.uk/how-to-enable-itunes-file-sharing-in-your-ios-app/ https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW20 https://developer.apple.com/librar...

IOS / Time and Date Stamp

At some point, it would be useful to understand how Swift can generate DATE and TIME data for you. Especially when taking a snapshot or screenshot on the fly and wanting to save the file. Quick browsing leads me to this: http://www.globalnerdy.com/2015/01/26/how-to-work-with-dates-and-times-in-swift-part-one/ https://stackoverflow.com/questions/28016578/swift-how-to-create-a-date-time-stamp-and-format-as-iso-8601-rfc-3339-utc-tim Just like MacOS does SCREENSHOT Cmd+Shift+3, this will become handy.

IOS / Animation and Easing

I am interested to use Animation and Easing for Sprite for my experimental iOS App. Quick search and stumbled into this Sprite Kit Easing Swift repository at Github. https://github.com/craiggrummitt/SpriteKitEasingSwift My thought is that we can probably use preset animation action that Apple provided, but this one add more. I should actually try the default first. But eventually I know I will be using some of these extra actions. This is entering yet another NEW things! I am discovering something called CocoaPods . Somekind of way to manage versions of dependency when we are using some kind of extension. Read CocoaPods documentation here: https://guides.cocoapods.org/using/using-cocoapods.html Ok so my step by step is like this: - Install CocoaPods, easy enough, via Terminal - Then create Podfile inside the project - Install the Podfile dependency, etc. - All good, we should have a new XCode Workspace (!) that we open the next time we want to run the project with Pod...

STUDY / Swift and iOS App Development

When you are self taught in programming, and starting to make your own app, you will soon reach this part where there are so much more to learn all at the same time. Just like when you are entering a new world while playing game. So far, my exploration and study is really only involving the trivial areas that interest me mostly: ARKit and trying to put 3D contents, animation that some day will make a real app that I could probably sell or maybe I can make apps that can be useful for many iPhone users. I am currently using the beta version of XCode 9, the latest update is improving the app, much faster and does not crash much. My iOS App development journey is pretty fun so far, so many new things to learn. Basically the process begins from WWDC 2017. And then I got curious and checking out the Swift Playground app and the iBooks offered by Apple on Swift. That is a good start. Soon enough, once you jump into XCode, things started to get real. Actually a lot of nice starting p...