From codeuu,source code
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!!!!!!!!
Bascially a (lame) bouncing ball that bounces along the applet and bounces back off the sides.
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 program
Anti-Aliased drawing program
Simplistic Rain using lines. To run, goto RainFrame and let 'er rip.
[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.
Bounces a blue ball in an applet (that is programmed into an application).
Bhushan3DCubE is most interesting part of 3D animation
Applet that produces a specified number of balls that bounce off the walls. Pretty boring but good for beginners to learn off of.
This script automatically changes the bgColor of your webpage at a desired second(s).
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.
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.
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]
This simple script lets you view an image of your choice.
Script will swap banners every 45 seconds (that is, if you are in Netscape 3 or higher or MSIE 4 or higher).
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.
convert image to byte file for Dreamcast VMU assembler.
converts image files to HTML plain text
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 reduces/eliminates screen flicker when graphics are redrawn to the screen.
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.
This JavaScript function will use an CommonDialog
Free hand drawing with a gif.Much like motion tweening.
Makes a cool marquee
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 with angle
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).
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.
this code helps u to understand mathematical logics and usage of class inheritence and graphics
I will show you that java.awt.Graphics class is enough to do your CG homework.It 's easy.
Takes Screen Shot of Your Desktop
This code show how to using graphics in Java
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.
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.
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.
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)
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:\
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
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.
This is a working Holodice like HabboHotel ones, built in javascript with some ajax...
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.
Here's my first post on PSC !! This RGB Color Picker use DXImageTransform filter. If you like it, please vote for it ... :)
Image Enhancing Program in Java.
My project is done for the Digital Image Processing Subject that represents several compression algorithms (including lossless and lossy)
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.
An image viewer programme. Supports GIF, JPG and common image formats.
A painter with simple function:
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 :)
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
Various ways of adding images to buttons, the frame and as background:
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.
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.
IT JUST SIMPLY SIMULATE TRAFFIC
Graphic Vu meter
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.
Creates a Slide Show using Javascript
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 is a Image Viewer,File Format Convertor (all formats your java package supports),Image Resizer,Image Quality/Compression Changer...
Moves a GIF around the screen
Moves 5 GIFs onto the screen from the left to create the title of the page
This script moves a GIF (Title Banner) following a Sine Wave Array
Makes a cool maruqee for anything.
Demonstrate the usage of graphic methods in the J2ME.
This code is just the interface of our project mesenger for LAN.I will soon send the whole code.
Magnifier lens that provides a way to enlarge items on the screen.
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".
Sophisticated news ticker. simple yet very effective typewriter type effect. linked items only become active when the line has been rendered.
It will create your own Notepad by using swings.It provides efficient features like Notepad.
a graphical application that mimics the behavior of an old microsoft screensaver.
simulates a petrol station using model-view-controller architecture
With this code you control the error for missing image files.
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)
a simple way of placing an image into an application not an applet
This code will accept user defined images and text. It will then encrypt the text into the image.
A photo viewer. Navigate to your photo's whit the arrow keys
Allowing users to view Panoramas similar to the views from a remote control surveillance camera.
3D mesh loading, rendering, and saving are the main purposes of this application. Several file formats are supported but not tested thoroughly. Please vote.
This small java code draws random colored lines on the java compatible cell phone.
Soothing Rain Drops. Includes three classes. SRainDrop, SRainPanel, and SRainFrame. All classes are commented, but the code is simple enough.
Draw Shapes
A firts Submission. Sorry for my english
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.
store in txt
This code starts a JPanel to mouse around in.
Smooth scroll, using this code, much better than marquee
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
Demonstrates a simple traffic light that rotates the colour displayed using a push button.
To teach begginers the graphics basics
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
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.
it uses some of the drawing method to generate a logo that happened to come to my mind
It will create progress bar motion.
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.
animation