This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>3D Rotating Square in WebGL using Three.js</title> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <script src="js/libs/three.js/three.js" type="text/javascript"></script> | |
| <style type="text/css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.codehackersblog.JStack.JStack; | |
| /** | |
| * | |
| * @author psychocoder | |
| */ | |
| public class JStackDemo { | |
| public static void main(String[] args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.codehackersblog.JStack; | |
| import java.util.Iterator; | |
| import java.util.LinkedList; | |
| /** | |
| * | |
| * @author Psycho_Coder | |
| * @param <T> | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.codehackersblog.JStack; | |
| /** | |
| * | |
| * @author Psycho_Coder | |
| * @param <T> | |
| */ | |
| public interface StackInterface<T> { | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.awt.BasicStroke; | |
| import java.awt.Color; | |
| import java.awt.GradientPaint; | |
| import java.awt.Graphics; | |
| import java.awt.Graphics2D; | |
| import java.awt.Paint; | |
| import java.awt.RenderingHints; | |
| import javax.swing.JFrame; | |
| import javax.swing.JPanel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Created on 17-Jan-2015 | |
| @author: Psycho_Coder | |
| ''' | |
| from math import sin, cos | |
| from PIL import Image | |
| import pygame, sys, os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Created on 03-Jan-2015 | |
| @author: Psycho_Coder | |
| ''' | |
| import platform | |
| import sys | |
| # Method 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env python | |
| import sys | |
| import pygame | |
| from pygame.constants import QUIT, K_ESCAPE, KEYDOWN | |
| def sprite( w, h ): | |
| animation_frames = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import urllib2 | |
| from reportlab.lib.pagesizes import A2 | |
| from reportlab.platypus import SimpleDocTemplate, Image | |
| filename = './python-logo.png' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Created on 21-Dec-2014 | |
| @author: Psycho_Coder | |
| More Details Visit : http://www.rawcoders.com/Thread-Source-Simple-InfiniteTunnel-with-PyGame | |
| ''' | |
| import os | |
| import sys |