Curve Subdivision using Neville’s Method

Here is some code and an applet of showing how the Neville’s method affects curve subdivision.  How to use the applet is on the bottom. Check out my previous post on an applet that just uses Neville to compute a curve. Enjoy!

Subdivision with Neville’s Method

 

Neville’s Method code and program

Here is a project I implemented recently  in class. It uses the Neville Method to interpolate 4 points. Press the number of the dot to control the dot. This is a non-recursive version on it. The code is sorta hard to follow, but email me if you have any questions greenbizkit33 [at] gmail.com.

Neville’s method code and program

Creating 3D graphics using Java Processing and Matrix Stacks


For my last computer graphics project I created a robot that was assembled (nothing elaborate) and then shot a bullet. I tried to get a demo to run in the browser but was having too much difficulty to get it running. Here is the source file for it:
Source code: hays_nathan_Project_2

There is examples of using moving shapes, using a matrix stack, creating a cylinder, and using a timer to animate and change camera angles.  I hope this comes in handy for someone.

Continue reading

Changing your coordinates for computer graphics.

Ok I know this might be a boring topic, but it might be helpfully for someone out there.  I want to show how to change a coordinate system. One reason you might want to dothis is for computer graphics (which is the class I learned this from). Some computer graphic software will start their coordinates from the upper left where Y increases as you go down. This is sorta confusing since most people are use to the Cartesian coordination system (the x y coordinates) , where Y increases as it goes up and there is a negative x and y.

Continue reading

Create a subdividing triangle to find it’s centroid in Java

I do not think there is any reason why anyone want to do this, but I will toss it out there.  I  had a class project to find the solution to the shortest path joining 3 points problem. I thought a subdividing triangle would make sense, but it just find it’s centroid (average the 3 points is the same).  After searching close to 50 pages i finial found it to be Fermat point.

This app was created using Processing , which is a low level graphic software that uses Java. You can drag any of the points.

Continue reading

Fermat point Java application (Processing)

This is sorta related to my previous post related to trying to find the shortest path to 3 points in a triangle.  Here is what i came up with as  my solution to the Fermat Point.  This certainly could be wrong,  but I seen a similar app online and mine was just like it.  If this is incorrect please post, but I am sure I will find out soon or later when I get my grade back.


Graveyard Database Logo

Has everything you want to know about grave yards. Plus has many celebrites and world leaders graves. Pssst it is my other site

Google + Profile
Check out Android Photo Mapping, its a app/site I been working on
Fabulou wholesale Petr Mrazek jersey is back. Best choice to get the wholesale Petr Mrazek jersey is suitable for all style of people.