Linux in Detail

Sunday, 19 April 2020

How to install Python3.8 on Uuntu 19.10 or 20.04

›
Python is one of the most popular programming languages in the world. With its simple and easy to learn syntax, Python is a great choice f...
Friday, 20 March 2020

Generate fractal patterns by using Koch curves.

›
#include <GL/glut.h> #include <math.h> GLfloat oldx=-0.7,oldy=0.5; void drawkoch(GLfloat dir,GLfloat len,GLint iter) { ...

Implement Cube rotation about vertical axis passing through its centroid

›
#include <GL/glut.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #define  RADDEG  57.29577951f ...

Implement translation, sheer, rotation and scaling transformations on equilateral triangle and rhombus.

›
#include <stdio.h> #include <math.h> #include <GL/glut.h> #define MAX 10 int n,op,tx,ty,sx,sy,angle,shx,shy,y,z,xr,...

Implement Cohen Sutherland Hodgman algorithm to clip any given polygon. Provide the vertices of the polygon to be clipped and pattern of clipping interactively

›
//#include <windows.h> #include <GL/glut.h> struct Point {     float x,y; } w[4],oVer[4]; int Nout;    void drawPoly(...

Draw a 4X4 chessboard rotated 45˚ with the horizontal axis. Use Bresenham algorithm to draw all the lines. Use seed fill algorithm to fill black squares of the rotated chessboard

›
#include <GL/glut.h> #include<math.h> #include<stdlib.h> #include<iostream> #include<stdio.h> #define PI...

Draw the polygons by using the mouse. Choose colors by clicking on the designed color pane

›
#include<iostream> #include<GL/glut.h> #include<math.h> #define w 500 #define h 500 using namespace std; float a[3...
›
Home
View web version

About Me

Seitcg
View my complete profile
Powered by Blogger.