In any application, hotkeys (shortcuts) are useful for navigation as well as to launch a control’s code, unfortunatelly Hotkeys in WPF are not as easy as in Windows Forms. In this post we will briefly present an example of how keyboard shortcuts can be used to execute commands using key bindings. What you will need is to create a new WPF window and follow the instructions below. Step 1: In the mainWindow.xaml you have to…

Swirlhole, is an arcade game for android distributions. We can categorize it also as an endless runner game. This type of games has the characteristic that the world building by own also the player must dodge obstacles as they automatically and continuously scroll onto the screen, with the simple goal of not crashing into anything for as long as possible. The main architectonic is simple we put the player into a 3D space to run…

In Unity3d you have a plenty of choices to make several objects but, in case that you need to make an object like a ring where you can get through its center it’s difficult with the prebuild already objects (Sphere, cube, capsule etc) you probably should swivel in torus technique, of course, there are some other tips for example circles with particle systems. In geometry, a torus is a surface of revolution generated by revolving…

The FlowLayoutPanel shares many of an ordinary panel control. They ultimately serve the same purpose, which is to organize children controls. In other words, is a container control that provides dynamically layout for the child controls. However, the stock version of the toolbox has some major limitations in terms of performance. For that reason the following minor modifications can improve your flowlayout panel’s performance, especially if you want to add a large amount of child…

In this article, I would like to mention benefits of using “Extension Methods” and provide a Nuget Package containing some of them. This feature started to be available in C # 3.0 compilers and continued in further versions (C# 4.0); it is very important for all developers especially if you would like to use the dynamism of the C# enhancements to take place in your class design. How to Create a simple Extension Method? Simply, create…

Sometimes as developers we have to face the windows versioning problem. Fortunately there are only very few cases where the problem is in the functionality part of our application however this does not apply to the GUI. As you may known already, there is a huge difference in the way that the different versions of windows handle the Graphics. For that reason there are some workarounds you may find in StackoverFlow etc.. to reduce (and…

Sometimes there is a necessity to deliver your applications in a simple and fast way.  However, creating a whole installer project for just a few assemblies is not the optimal solution, and packaging up a zip file must be accompanied by “Unzip this into a folder in your programs directory and create a shortcut…” which brings us back to the whole installer business we started with. Having those reasons in mind (and several other of…

Coherence analysis can detect the coordination of EEG rhythms between brain areas. Is a method developed on the base of classic coherence analysis and signals joint time-frequency representations in recent years. It was used to extract transient characteristics of interactions among brain areas. Describes the temporal, spatial and frequency relationships of brain activities. In this analysis discuss the frequency-varying coherence of EEG (Electroencephalogram) to examine the coordination mechanism of the brain. The power spectral density…

Edge detection is the process of identify the presence and location of edges by sharp discontinuities of image. Edge detection plays an important role in image processing and helps in solving many complex problems. One useful and easy to implement algorithm is the Prewitt filter. As compared to Sobel, the Prewitt masks are simpler to implement but are very sensitive to noise. Mathematically, the operator uses two 3×3 kernels which are convolved with the original…

All human beings display five different types of electrical patterns or brain waves over the cortex in order of highest frequency to lowest are as follows: Gamma, Beta, Alpha, Theta, and Delta. Each brain wave has a purpose and helps serve us in optimal mental functioning. If one of the five types of brain waves are either overproduced or under-produced in our brain, it can cause problems [1]. For this reason, it is important to…

Following the  previous post about Queues, In this post i publish a simple modular stack written in C which can be used either by assigning a static space for the elements of a dynamic one (malloc etc). In computer science, a stack is an abstract data type that serves as a collection of elements, with two principal operations: push, which adds an element to the collection, and pop, which removes the most recently added element…

In concurrent programming, concurrent accesses to shared resources can lead to unexpected or erroneous behavior, so parts of the program where the shared resource is accessed are protected. This protected section is the critical section or critical region. It cannot be executed by more than one process. Typically, the critical section accesses a shared resource, such as a data structure, a peripheral device, or a network connection, that would not operate correctly in the context…