Script.it .Nam Myoho Renghe Kyo.

Script.it
[Objective-C] Camera Class
[Objective-C] Camera Class

Lately i’ve been working more and more on mobile IOS projects. Within these projects i tend to use mobile camera’s alot. There are alot of different camera frameworks / modules out there, but for the sake of knowing WTF is going on inside those pieces of code, i am writing my own camera class. This […]

[AS3.0 / JS / XCode / Java] Decimal formatting numbers
[AS3.0 / JS / XCode / Java] Decimal formatting numbers

So you have a number and want to apply some decimal separators to it. For example: 1000 -> 1.000 10000 -> 10.000 Here are the AS3.0, Javascript, Objective-C and Java codes to do so. If you look closely there is not really a big difference between languages.For OO languages almost all structures are the same […]

[Lab] BezierPaths
[Lab] BezierPaths

BezierPaths, always a fun subject. These paths can be used for smooth lines, car drive behaviours or even cable / string simulations. To get a better understanding of the BezierPath, we need to start with a simpler version…the Cubic Bezier Curve. The Cubic Bezier Curve. The cubic bezier curve is a curve from coordinate A […]

[Lab] Stage3D UV animation
[Lab] Stage3D UV animation

Going into the subject of rendering flat sprites in Stage3D wich have an animation as if they were 2D. Common practice for this in Stage3D is using a spritesheet as texture and animate the uv coordinates. UV mapping… uhhh ? For those that dont really understand what UV mapping is. Here’s an image, which explains […]

[Lab] Diving into Stage3D
[Lab] Diving into Stage3D

It has been a while since my last post, but i am back! Since Adobe gave the Flash community a big F*** You with their ******** Javascript engine, i gave up on flash. I am not doing Javascript or even getting close to that script because it is just a BIG step back from mature […]

[Lab] Tracing rays #01
[Lab] Tracing rays #01

Diving into 3D more. I am now learning that drawing lots of triangles on screen can be tedious en performance heavy. So… while reading up on the subject i came along some posts about raytracing and raymarching. A technique used in image processing. You can read all about it here! This technique seemed cool and […]

[Lab] Dreaming of Spaces
[Lab] Dreaming of Spaces

For a short while now if have been looking into Java / Processing and OpenGL. And i have to say that i quite like it. Not only for extension comfort but also for its power. In flash i can get up to 200.000 particles and maybe even somewhat more. But if i want alot more… […]

[Lab] The Scanline
[Lab] The Scanline

Just a little fun project i thought up. Made within a couple of hours. Actually pretty fun project. Who knows… maybe i’ll develop it into a vj tool or something. Always fun these things. The app copies the video stream and translates it to “scanlines”, who make up 1 block. Blocks are repeated infinitely. This […]

[Game] AlphaOmega v0.1
[Game] AlphaOmega v0.1

Dropped the 3D engine development a bit. It is summer…. so i need to be developing a fun project in between, i guess. I started development on a 2D space game. Dont really know what its going to be in the end but i already looks awesome. Name for now will be AlphaOmega. Below is […]

[Lab] 3D study #04
[Lab] 3D study #04

I found some extra time to work on my 3d studies. Thus am posting a little update here. Am still working on the lighting, rendering and materials I updated the facenormals, lighting, material and render calculations. It now runs fairly ok. Am still far from satisfied but its getting there. Below you are seeing the […]

[Lab] Text Particle Explosion
[Lab] Text Particle Explosion

While digging thru old files, i found this particle experiment. Goal was to make text explode into little particles. In this project i load a black and white image ( background white, letters black ). This image is processed by the system. For each black pixel inside the image i place a red particle on […]

[AS3.0] 3D basics #01
[AS3.0] 3D basics #01

While working on 3D in flash it feels like a good idea to explain a little bit on my approach on this interesting subject. Starting from the basics this article is ment for those who want some more insight on how 3D in flash is done. Nothing fancy, just the basics. The Vertex. A vertex […]

[Lab] 3D study #03
[Lab] 3D study #03

Still working on the 3D side of flash. Working out primitives and lights. Got most of the primitives up and running in the system. Lights can now also be added, but i am not fully happy yet about the light. So still working on that part. Have some concepts i want to try in the […]

[Lab] 3D study #02
[Lab] 3D study #02

Since my previous post i’ve been very busy digging into 3D. The plan was to work on the shading, but i got delayed because of all cool tests i made. I am temporarily putting the shading on a slow flow and will work more on the core and run lots of more tests and experiments […]

[Lab] 3D study #01
[Lab] 3D study #01

Since flash is going hardcore 3D in the very near future ( with OpenGL ), i’d like to know more about this subject. I have used almost all the 3D flash engines out there, but never actually dig into the actual core codes that make the vertices, polygons, faces and scenes. Using the native flash […]

[Lab] AudioRibbon Worm
[Lab] AudioRibbon Worm

Ribbons on my mind. Still on my mind since this little project. Was working on 3D ribbons and just had enough of the triangles and all that 3D stuff. So… after sitting back and rethinking it… I remembered the speech of Aral Balkan waaaaay back about keeping things simple. So here is my simple version […]

[AS3.0] Fusion5 *.comp parser
[AS3.0] Fusion5 *.comp parser

In Fusion you can track an object’s position and do some cool stuff with it. Wouldn’t it be nice to have that same ability inside flash ? Or maybe go from Fusion to flash to have a sprite follow your tracked positions ? Yesh that would be nice! So i made a parser for Fusion5 […]

[AS3.0] VideoScrubber NetStream upgrade.
[AS3.0] VideoScrubber NetStream upgrade.

A while a go i posted the VideoScrubber class and the VideoScrubber Tutorial. This class enables you to embed a video on the timeline and scrub thru the video. You could drag and throw thru the frames. I have gotten alot of positive responses to the class. A few days ago i got an email […]

[Lab] The Perlin Landscape
[Lab] The Perlin Landscape

When working on ‘The Perlin Sea’, i realised there is more to be discovered on the use of perlinNoise. So i went on the interwebs and started looking for cool stuff. I came along Neuro’s blog and found his Continuous PerlinNoise post. I liked it. So…. i wanted to try it myself and see if […]

[Lab] The Perlin Sea
[Lab] The Perlin Sea

Went thru some old stuff and found some of my old perlinNoise projects. Loads of fun and a high coolness factor…..so i decided to do a screen for in my engine. Based on my old Perlin_Candy_Sea. The Perlin Sea ( Press the head to start ) This movie requires Flash Player 9 ArrayArrayArrayArrayArrayArrayArrayArray

[Lab] Lorenz Curve
[Lab] Lorenz Curve

The Lorenz Curve. An equation i wanted to do for a long time.I knew i had to try one. Discovered by Edward Norton Lorenz, this shape is a mathmatical wonder. it looks like: Here is the code which makes it all run: ?View Code ACTIONSCRIPT1 2 3 4 5 6 7 8 9 10 11 […]

Categories
Archives