C4 for iOS

This is a bomb

November 27, 2015

Original

Drop da Bomb

Hey little fellas, if you know me you should remember that I’m a guy pretty interested in all this creative coding stuff, yes you’re right like Processing or like Openframeworks and another languages that actually never learn anything. Lately last year I was sunken in the deeps of Swift so my process of design apps would be more complete, and I think swift is really “easy” to understand, at least the basics to make some prototyping.

A couple of days ago I read about this new framework called C4 that’s sound very cool, of course after reading the words creative coding in the site I decided to give it a try…

handle
This is like PARTY POSSE, DROP DA C4 BOMB

This framework isn’t new, actually it’s from the 2012, and it’s mainly focused in media and multitouch, and focused only in iOS devices, there are some videos of experiments and art installations in ther Vimeo channel that look really good.

C4

C4ViewAnimation(duration: 0.5) {
    shape.center = self.canvas.center
    shape.lineWidth = 5
}.animate()

SWIFT

UIView.animateWithDuration(0.5) {
    shape.center = self.canvas.center
}

CATransaction.begin()
CATransaction.setValue(NSNumber(float: 0.5), forKey: kCATransactionAnimationDuration)
shape.lineWidth = 5
CATransaction.commit()

Actually the structure of the code is pretty simple and in the site itself they teach you how to make and app with the language, pretty cool ain’t ya?

The interactions of the app looks really complex to do with normal code, or at least a lot of lines of code, yesterday after a little fight with xcode I made to try a little the basics of C4 and with my not so vast knowledge I give it my seal off approval, soon will try to do something and give a more deep review or just saying that I put it aside for reasons like I just did with processing and OF.

pd: actually my problem with processing is that isn’t easy to export your sketches to a iOS device, but that doesn’t mean that’s not in my heart <2.

Tirar la bomba

Hola a todos, si me conocen deben recordar que soy ese tipo súper interesado en el creative coding, sí, exacto, cosas como Processing o Openframeworks y otros lenguajes de los que en realidad nunca aprendí nada. El año pasado estuve metido en las profundidades de Swift para que mi proceso de diseñar apps fuera más completo, y creo que swift es bastante “fácil” de entender, al menos lo básico para hacer algunos prototipos.

Hace unos días leí sobre este nuevo framework llamado C4 que sonaba muy cool, claro que después de leer las palabras creative coding en el sitio decidí probarlo…

manejar
Esto es como PARTY POSSE, ¡TIRAR LA BOMBA C4!

Este framework no es nuevo, de hecho es del 2012, y está principalmente enfocado en media y multitouch, y solo para dispositivos iOS. Hay algunos videos de experimentos e instalaciones artísticas en su canal de Vimeo que se ven muy bien.

C4

C4ViewAnimation(duration: 0.5) {
    shape.center = self.canvas.center
    shape.lineWidth = 5
}.animate()

SWIFT

UIView.animateWithDuration(0.5) {
    shape.center = self.canvas.center
}

CATransaction.begin()
CATransaction.setValue(NSNumber(float: 0.5), forKey: kCATransactionAnimationDuration)
shape.lineWidth = 5
CATransaction.commit()

En realidad la estructura del código es bastante simple y en el propio sitio te enseñan cómo hacer una app con el lenguaje, ¿copado no?

Las interacciones de la app se ven muy complejas de hacer con código normal, o al menos requerirían un montón de líneas de código. Ayer, después de una pequeña pelea con xcode, logré probar un poco los básicos de C4 y con mis no tan vastos conocimientos le doy mi sello de aprobación. Pronto voy a intentar hacer algo y dar una reseña más profunda, o simplemente decir que lo dejé de lado por razones, como ya hice con processing y OF.

pd: en realidad mi problema con processing es que no es fácil exportar los sketches a un dispositivo iOS, pero eso no significa que no lo llevo en el corazón <2.