WebGL and 3D Contours

After a long night of learning how to code Three.js, I have had some success in rendering the contours created by The Bubble Index into nice WebGL displays. You can find them in the 3D Contours Page on this site.  The process that created these consisted of several steps. First, I exported a contour 3D grid mesh as a DXF file from 3DField. Then I used JNetCAD to convert this into a WebGL json file.  JNetCAD describes itself as: JNetCAD is a simple Java GUI for importing and exporting several CAD formats. I agree, it was simple and effective for my purposes. From this point, it was now about coding in Three.js. Three.js has some really nice examples to learn from. It gives users the potential to create some amazing visual displays. And after some debugging and tweaks, I ended up with a nice display.

3D Contour Map: TNX (1962 – 2015)

The 3D Contour of The Bubble Index Contour: TNX (1962 – 2015) displays an important prediction. As you can see from the graphs and contours, it appears to have peaked in the window range 7,200 – 8,200. This would indicate that the bubble in the US Gov’t 10 – Year Bond recently ended. That is cautioned by an unknown factor — that there is not a bubble forming on a much larger time window than I was able to calculate (13,200 days +).

TNX_9 TNX_1 TNX_2 TNX_3 TNX_4 TNX_5 TNX_6 TNX_7 TNX_8

3D Contour Videos

In order for viewers to have a better visual perspective of the 3D Contours, I have uploaded the videos below to YouTube. These are a test of potential routes for how the website could develop and serve to help me decided how to proceed in the future. Eventually, I think I will upload versions which contain narration and investing ideas based on the graphs. Once I figure out how to map the date axis from integers to Dates that should improve the visual experience. In addition, I hope to figure out and be able to overlay the underlying time series for the 3D Contour in the foreground and or background panel.

 

 

 

3D Contour Map of Geometric Example

geometricExample with 3dField contour plotI found a website, 3dfmaps.com which has the perfect software, called 3DField which creates great 3D contour maps. This is the next to step in displaying the results obtained with The Bubble Index. It is very exciting to use this software to display these contours! Hopefully, this improved visual aid will allow better monitoring and prediction of market movements.geometricExampleContour

The Bubble Index Contour: TNX

After working on the contour map code and running TNX through the algorithm, I can now show you how I want you to think about the relationship between fractal geometry, LPPL Oscillations, and financial time series. With windows ranging from 52 days to 13,000 days, the output of The Bubble Index Contour for TNX (CBOE 10-Year Interest Rate) shows some interesting features currently in the process of development.

You can see that there is a growing bubble centred around the 9,000 day window; also, a sort of harmonic bubble around the 4,500 day window. This will be of immense importance in the upcoming months. Bill Gross has said bonds are safe in the short term, but watch out for long term; Martin Armstrong has been calling for 2015.75 to be a crucial phase transition in bonds worldwide.

Keep an eye on this TNX contour plot as that date approaches. (NOTE: As you can see from the plot, it contains artefacts along the diagonal due to interpolation over the grid of data. As there is not enough time to calculate every individual window, I had to calculate the windows in intervals. I will update this graph as I obtain more closely spaced intervals.) Credit and thanks goes to the bigmemory package and fread functions in R!

Download Contour PDF

The Bubble Index Contour: TNX