[37] Results

Golang : Check if integer is power of four example

golang math-pow power-of

Problem:

You need to test if a given integer is a power of 4. For example, if given number =….... read more


Golang : Edge detection with Sobel method

golang edge-detection sobel view-image rgba

Ability to detect edges and lines in a picture is the foundation for computer vision or better known in computer….... read more


Golang : Test if an input is an Armstrong number example

golang armstrong number cubic

An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is….... read more


Golang : Math pow(the power of x^y) example

golang math-pow power-of

No programming language will be complete without the power of math function. This tutorial is a simple example on how….... read more


Swift : Get substring with rangeOfString() function example

swift sub-string range-of-string

Problem :

You have a string and you want to get(extract) the sub string from start to {0} and from….... read more


Golang : Find relative luminance or color brightness

golang luminance brightness RGBA color-code

Problem:

You need to find the relative luminance (brightness or perceived brightness) of a color to another color. You also….... read more


Golang : Get RGBA values of each image pixel

golang rgba at image width height

Problem :

You need to find out each pixels R,G,B,A values on an image. Maybe to do ASCII art, edge….... read more


Golang : Number guessing game with user input verification example

golang number-guessing integer input-verification

Helping a Golang student from Mexico. She is building a simple random number guessing game and she wants to know….... read more


Advertisement