Graphics in Java

From codeuu,source code

Jump to: navigation, search
a cool fade in/out tamplate

wow wow wow wow wow its so nice it became a lot nicer then i expected wow that is all i can say very simple very easy just use it use it!!!!!!!!

Animated Ball Bouncing

Bascially a (lame) bouncing ball that bounces along the applet and bounces back off the sides.

a 3d Shapes using math object

This code generats nice 3d shapes using the Math.cos and Math.sin objects. i think every programmer should play with those, i tell my students to try and make a char like '*' go in circles around the screen.

Anti-Aliased Drawing

Anti-Aliased drawing program

Anti-Aliased Drawing Program

Anti-Aliased drawing program

A RainDrops class

Simplistic Rain using lines. To run, goto RainFrame and let 'er rip.

A Simple JAVA Painter
Active Ball Regressor updated

[Updated] This java applet randomly draws n balls on the 2D euclid space and throws them in random speed and direction. At the same them calculates ordinary least squares regression line and draws. So one can see how differs a regression line simultaneously.

Bouncing ball (with bounce animation & ripple effect)

Bounces a blue ball in an applet (that is programmed into an application).

Bhushan3DCube

Bhushan3DCubE is most interesting part of 3D animation

Bouncy Balls

Applet that produces a specified number of balls that bounce off the walls. Pretty boring but good for beginners to learn off of.

bgColor Changer

This script automatically changes the bgColor of your webpage at a desired second(s).

Bounce Ball - Project2

Bounces 2 balls around the screen. Can be easily modified to allow more than 2 balls. The user can adjust the speed of the balls seperately while the program is running.

Billiard Balls

Any number of balls (specified by a constant) will bounce around the screen, bouncing off of each other and the walls with perfectly elastic collisions. Uses a thread to control the balls and double buffering to repaint without flickering. The balls are randomly sized and colored and their mass depends on their size.

Bantumi Game

A java based Bantumi game.....this my game programming...well its very simple game program..not complete yet..coz..u have played both side by ur own..the computer won't play with u!!

Best and Simplest Ray tracing in Java Part-II

[Best and Simplest Ray tracing in Java Part-II]

Image Viewer

This simple script lets you view an image of your choice.

Banner Swapper

Script will swap banners every 45 seconds (that is, if you are in Netscape 3 or higher or MSIE 4 or higher).

Thumbz up

I based this code on the announcement box by jim sliver which can be found at http://www.dynamicdrive.com/dynamicindex11/abox.htm. I didn't like the way the browser would move to another window if you wanted to view a thubmnaild image and I hated frames and pop up windows, I made a script that means you can view the image without leaving the page you are on. Whats more the new image can be moved around the screen like a new window...take a look at http://www.nexusjnr.co.uk/thumb for an example. Rate the code k.

img2byte

convert image to byte file for Dreamcast VMU assembler.

img2html

converts image files to HTML plain text

bounce

ok this is a basic bounce example. this is all you need to know on how to bounce a object . my next code i will release will be a good client and server chat multi clients !!

Double Buffering

Double buffering reduces/eliminates screen flicker when graphics are redrawn to the screen.

Tic tac toe using graphic primitives

This applet creates the game of tic tac toe using ONLY graphic primitives i.e.drawLine, fillRect, fillOval etc. An exercise in an appreciation of on screen co-ordinates, creating and calling methods and iteration.

Color Pick using CommonDialog OCX and JavaScript

This JavaScript function will use an CommonDialog

Cool Draw

Free hand drawing with a gif.Much like motion tweening.

Cool Marquee

Makes a cool marquee

Cartoon Animation

Put some funny cartoon animation in your webpage using MS Agent. It's easier than you think! Very useful for education purposes. Don't forget to vote!

clock animation

clock animation with angle

Dropdown combo box with Scalable Vector Graphics (SVG) & Javascript

This code is more of a proof of concept than anything else. It shows how to create a dropdown combo control with Scalable Vector Graphics (SVG). You will need an SVG Viewer to view the file in your browser (go to www.adobe.com/svg to download).

Doozee Graphics (Paint Brush)

This is a simple graphics program that creates the basic graphical shapes like square, oval and elipse, both filled and 3D. You can choose a color for shapes, fills and the background. The screen shot is in black & white but the program is actually in colour.

drawshapes

this code helps u to understand mathematical logics and usage of class inheritence and graphics

DirtyPolygon

I will show you that java.awt.Graphics class is enough to do your CG homework.It 's easy.

Desktop Scanner v1.2 (FINAL)

Takes Screen Shot of Your Desktop

Draw Nokia N73

This code show how to using graphics in Java

Double Buffering

Shows how to reduce or eliminate flicker by using double buffering. It also shows a trick to refresh a background quickly by working with the pixel data directly.

Elevator Simulation System

The ESS application is developed using a component-based development approach. The whole system is divided into components. The various in-house built components used in this system are: ElevatorBean, ElevatorMainForm, InternalPanelBean, and floorIndicatorBean.

Fading Slideshow

This is a slideshow that supports images, links from images, and captions for images. This slideshow script is better than the ones I tried before deciding to make my own; It has a pause/play feature and does not load the next slide until the last slide has been loaded (this is good for large images or a slow server). In Internet Explorer the pictures transition with a fading effect.

Gravity fun

Little planets orbitting around bigger ones, Uses gravitational acceleration formulas to orbit planets. This is just a fun project I did quickly so dont expect it to be perfect. (I scaled the sun down so all the other planets wouldn't just be specs)

GifAnimation loading a stripOf Images with delay time

it loads a strip of images and makes a gif animation of the strip were u can delay each frame in your strip animationloop.its Purpose is to show how bufferimages work,and it is a good tool to have around:\

gui case study 6th edition 4.1/4.2 (deitel how to program java 6th edition)

this is the case study in page 160 of the deitel and deitel book, how to program java, i solved it, i thought maybe some student may need it

Hexadecimal Color Wheel

A dynamic color wheel displaying 4096 colors in a chromatic scale utilizing cross browser mouse event capture from a layer to display the hexadecimal codes of each color. Easily find that elusive color code you were looking for and learn how to manage layers and mouse events.

Habbo Hotel Holodice on your WebPage

This is a working Holodice like HabboHotel ones, built in javascript with some ajax...

Image Error Finder

This JavaScript checks if all the images in the document exists. If a particular image does not exist, that image will be replaced by a custom image! Works with IE only.

IE Photoshop RGB Picker

Here's my first post on PSC !! This RGB Color Picker use DXImageTransform filter. If you like it, please vote for it ... :)

ImageS.java

Image Enhancing Program in Java.

Image De/Compression Algorithms

My project is done for the Digital Image Processing Subject that represents several compression algorithms (including lossless and lossy)

Image Histogram Processing

This is another project I have done last month. The programme can load several image format (derived from my project of Digital Image Compression Algorithm) then it can compute 1-D histogram of the image (grey, red, green, blue channel). I also developed some simple functions e.g histogram equalisation, contrast stretch, negative, channel boost.

Image Viewer..

An image viewer programme. Supports GIF, JPG and common image formats.

IGraphics

A painter with simple function:

Java Script Fun

This code allows you to have interesting code ready, for when you post on a forum that allows Javascript to passthrough. You can have the kewlest post :)

Java Village - A Simple Animation

This is a simple animation of "villagers" that walk to the center of the screen and form the word java. This was an assignment for school, and I thought it could be helpful to others. And it is kinda cool to look at.. The applet can be accessed at: http://www.garagegaming.com/school/javavillage.asp

JFrameImage.java

Various ways of adding images to buttons, the frame and as background:

Java GUI Creation With EASE

To provide easy production of GUI(Graphical User Interface). Allows you to create JTabbedPane, JCheckBox, JRadioButton, JToggleButton, JPanal, JFrame, and JButton with ease. Wont be updated.

JAI Thumbnail / zoom image browser

Use Java Advanced Imaging to display thumbnail and zoom into image. My client's "roadmap" is to move to a non-OS dependent platform. This app was used as a quick proof of concept on converting an existing Visual Basic application that retrieves signature image of customer.

jersey

IT JUST SIMPLY SIMULATE TRAFFIC

Javascript Graphic Sound VU Meter v1.1(DEMO)

Graphic Vu meter

Java 3D Renderer

This is a simple software model renderer which I made during the first half of this year, while learning the Java language at University. It uses very basic code and should be understandable by even novice Java programmers.

JavaScript Slide Show

Creates a Slide Show using Javascript

Kohonen

This code is a homework for my University. It uses AI concepts to simulate a Kohonen Neural Network. Enjoy it and don't forgert to vote.

Lucifer - Image Viewer/Convertor/Resizer/Compressor

Lucifer is a Image Viewer,File Format Convertor (all formats your java package supports),Image Resizer,Image Quality/Compression Changer...

Moving Gifs

Moves a GIF around the screen

Move 5 Gifs as Title

Moves 5 GIFs onto the screen from the left to create the title of the page

Move A GIF following an Array

This script moves a GIF (Title Banner) following a Sine Wave Array

marquee/signature

Makes a cool maruqee for anything.

Mistify with J2ME

Demonstrate the usage of graphic methods in the J2ME.

Messenger interface

This code is just the interface of our project mesenger for LAN.I will soon send the whole code.

Magnifier

Magnifier lens that provides a way to enlarge items on the screen.

Mouse Looker

Take 9 pictures of yourself looking in 9 directions and assemble them to look at the users mouse depending on its location relative to your image. My wife thinks it's funny because she asks for money and drags the mouse above and below the image a few times so that I nod "yes".

News Ticker with typewriter effect

Sophisticated news ticker. simple yet very effective typewriter type effect. linked items only become active when the line has been rendered.

Notepad

It will create your own Notepad by using swings.It provides efficient features like Notepad.

old MS screensaver

a graphical application that mimics the behavior of an old microsoft screensaver.

PetrolStationSimulator

simulates a petrol station using model-view-controller architecture

Prevent error for missing images

With this code you control the error for missing image files.

Photoshop-ish Javascript Color Picker

I couldn't find a decent Javascript color picker, so I wrote this one. It basically mimics the one in Photoshop (and I'm sure other applications)

place image in a java aplication

a simple way of placing an image into an application not an applet

Photographic Encryption

This code will accept user defined images and text. It will then encrypt the text into the image.

Photo Viewer

A photo viewer. Navigate to your photo's whit the arrow keys

Panorama Viewer

Allowing users to view Panoramas similar to the views from a remote control surveillance camera.

PolyMapping

3D mesh loading, rendering, and saving are the main purposes of this application. Several file formats are supported but not tested thoroughly. Please vote.

Random Lines On the Phone

This small java code draws random colored lines on the java compatible cell phone.

Soothing Rain

Soothing Rain Drops. Includes three classes. SRainDrop, SRainPanel, and SRainFrame. All classes are commented, but the code is simple enough.

Simple Paint

Draw Shapes

Space Invaders

A firts Submission. Sorry for my english

Simple Texture Mapping

This shows a way to do texture mapping in Java without using Java3D api. This maps a tiled image on the surface of an infinit plane. Surprisingly enough, it doesn't seem very choppy either. I've included an application and an applet for UI to demonstrate the rendering code.

simple store 2 txt file

store in txt

Stringy

This code starts a JPanel to mouse around in.

smooth Scroll

Smooth scroll, using this code, much better than marquee

TableGraph v1.0

Want to display line- or areagraphs on your webpage, but don't feel like spending any money on buying a charting component or don't the time to develop one yourself? Then you should have a look at TableGraph. It will draw your graphs in an instant using nothing but plain old HTML-tables

Traffic Light

Demonstrates a simple traffic light that rotates the colour displayed using a push button.

The Country flag

To teach begginers the graphics basics

text image change mouseover

Alright this code was apart of something that i had found on the web at javascript made easy however i neede it to be modified to my needs. This code uses the div tags to encase some words

UK Barcodes EAN 8,13 NO PICTURES! VML (Alpha)

This code can generate EAN (UK Style) Barcodes of 8 or 13 digits. It does *not* use images! Instead, i'm using VML (which means using IE). This allows you to print off the resulting barcode.

very simple drawing homework

it uses some of the drawing method to generate a logo that happened to come to my mind

Vista Progress Bar Motion

It will create progress bar motion.

Windmill

Shows how to do simple animation of a windmill spinning. One program does it automatically, the other has a start and stop button that controls the animation.

Web UFO

animation

Personal tools