Monthly Archives: May 2016

Swift CAEmitterCell CAEmitterLayer Fireworks

Swift CAEmitterCell CAEmitterLayer Fireworks Created By : Debasis Das (May 2016) This post is inspired from the Firework Objective C App. The code has been re-written in Swift while removing the slider controls for controlling the fireworks. For the objective

Posted in Swift Tagged with: , ,

Different ways of loading a d3js data

Different ways of loading a d3js data Created By:Debasis Das (May 2016) In this article we will discuss the different ways of loading a d3js data. In the post we will load a d3 chart’s data from json, csv, tsv

Posted in CSS, d3js, HTML5, Web Technology Tagged with: , , , , ,

Swift CAEmitterCell CAEmitterLayer Sample Code

Swift CAEmitterCell Sample Code Created By: Debasis Das (May 2016) This post is inspired by the Objective C version of the Fire Demo Application from developer.apple.com and the flow is rewritten in Swift. https://developer.apple.com/library/mac/samplecode/Fire/Introduction/Intro.html The output of the program is

Posted in Swift Tagged with: , , ,

Swift NSSearchField NSTableView Sample Code

Swift NSSearchField NSTableView Sample Code Created By:Debasis Das (May 2016) In this post we will discuss the most lengthy way to implement a NSSearchField and tie the same to a NSTableView. Earlier we have discussed two alternate ways to achieve

Posted in Swift Tagged with: , ,

Swift NSSearchField NSArrayController No Bindings

Swift NSSearchField NSArrayController No Bindings Created By:Debasis Das (May 2016) In this post we will create a simple cocoa application to filter the data in a NSTableView using a NSSearchField without using Bindings The NSArrayController will maintain the backup data

Posted in Cocoa, Swift Tagged with: , ,

Swift NSSearchField NSTableView With Bindings

Swift NSSearchField NSTableView With Bindings Created By: Debasis Das (may 2016) In this post we are going to create a simple cocoa application having a NSSearchField and bind the same to a NSTableView Array Controller Step 1 : Create a new

Posted in Cocoa, Swift Tagged with: , ,

HTML CSS Horizontal Timeline

HTML CSS Horizontal Timeline Created By: Debasis Das (May 2016) For Demo  

Posted in CSS, HTML5, Web Technology Tagged with: , , ,

Swift Fractal Tree

Swift Fractal Tree Created By : Debasis Das (May 2016) Source Code // Swift Fractal Tree // Created by Debasis Das on 15/05/16. // Copyright © 2016 Knowstack. All rights reserved. import Cocoa import Foundation class Tree: NSView { let

Posted in algorithms, Swift Tagged with: , , , ,

HTML5 Canvas Fractal Tree

HTML5 Canvas Fractal Tree Created By:Debasis Das (may 2016) Source code <html> <head> <script type=”text/javascript”> function draw(){ var canvas = document.getElementById(‘canvas’); var context = canvas.getContext(‘2d’); context.beginPath(); context.rect(0,0,1500,1000); context.fillStyle = “white”; context.fill(); drawTree(context); } function drawTree(context){ branch(context, 100, 900, -90, 5);

Posted in algorithms, HTML5 Tagged with: ,

React+Datamaps => Choropleth region map

This post will walk through on how to create a Datamap React component using the Datamap npm module and then use that component to have a region based world map choropleth. Here we go: Create a JSX component which encapsulates

Posted in Generic

Recent Posts


Hit Counter provided by technology news