home processing download documents tutorials gallery source(github) about

Tutorials

0. For Beginners of Processing and Java

Variables, Naming, Statements, Comments


1. Basics of piGeon in Processing

First Line to Write

Run the Sketch

Navigation of 3D View by Mouse & Keyboard

Shading Modes

2. Fundamental Geometries in iGeo

Creating Points

Setting Color of Objects

Creating Lines

Creating NURBS Curves

Creating Simple Surfaces

Creating NURBS Surfaces

3. Simple Repetitions

For Loop

Logics inside Body

Nested Loop (2 Dimensional For Loop)

Nested Loop (3 Dimensional For Loop)

4. Simple Conditions

If Condition

If and Else

If, Else If and Else

Boolean Operators

And, Or, Not

Use of %

5. Introduction of 3D Vectors

Points and Vectors

IVec Class

Creating Geometries with Vectors

Visualize Vectors as Arrows

6. Debug

Compile Error

Print Debugging

7. Arrays

Simple Arrays

Null Values

2 Dimensional Arrays

3 Dimensional Arrays

8. Creating Geometry with Arrays

Creating Curves with Arrays

Creating Surfaces with Arrays

Creating Polygon Mesh with Arrays

9. Variable-Length Arrays

ArrayList

2 Dimensional Variable-Length Arrays

Sort

10. File I/O

Open Files

Save Files

Select Geometry Objects

11. Randomness

Random Numbers

Random Points

Random Color

Probabilistic Switch

12. 3D Vector Math

Accessing X, Y and Z of Vector

Duplicate Vectors

Add/Subtract Vectors

Multiply/Divide Vectors

Flip Vectors

Length, Distance and Unitization

Dot Product

Cross Product

Angle and Rotation

Reflect Vectors

Compare Vectors

Create Difference Vectors

Create Midpoints/Bisector of Vectors

Create Summation Vectors

Create Weighted Summation Vectors

13. NURBS Curve and Surface

Mathematics of NURBS Geometry

Creating NURBS Curves and Surfaces

Continuity of NURBS Geometry

Point on NURBS Curve

Tangent on NURBS Curve

Point on NURBS Surface

Tangent on NURBS Surface

Normal on NURBS Surface

Offset Point on NURBS Surface

14. Lines on Surface

Grid Points on Surface

Grid Lines

Diagonal Lines

Diagrid Lines

Variable Diagrid Lines

Hexagonal Grid Lines

Hexagonal Grid Lines2

Putting Cylinder around Line

Putting Fin Surface on Line

15. Simple Panelization

Rectangular Panelization

Triangulation

Diagrid Triangulation

Diamond Panelization

16. Transformation of Geometries

Move (Add / Translate)

Duplicate (Copy)

Scale

Scale in 1 Direction

Rotate

Reflect (Mirror)

Shear

17. Mapping Images on Geometries

Control Line Length by Image

Control Depth of Surface by Image

Control Width of Panel by Image

Control Rotation by Image

Control Scaling by Image

Sampling Color of Image

18. More Modeling Methods

Offset Curves

Lofting

Extruding Point Array

Extruding Curves

Sweeping Point Arrays

Sweeping Curves

Circular Pipe Along Curves

Rectangular Pipe Along Curves

19. Panelization Example

Panelization Example1

Panelization Example2

Panelization Example3

Panelization Example4

Panelization Example5

Panelization Example6

Panelization Example7

Panelization Example8

Panelization Example9

Panelization Example10

19. Classes in Object-Oriented Programming

Class Definition

Class Instance

Instance Field

Class Constructor

Instance Method

Method with A Return Value

Static Field

Static Method

Use of Class in Other Algorithms

Comparison of Code with/without Class

20. Class Inheritance

Subclass

Constructor of Subclass

Overriding Methods

Use of Subclass

21. Multi-Agent Algorithm: Update Method

Inheriting Agent Class

Define Update Method

Update Method Example 1

Update Method Example 2

Save Files after Update

22. Multi-Agent Algorithm: Interact Method

Define Interact Method

Interact Method Example 1

Interact Method Example 2

Interact Method Example 3

Interact Method Example 4

23. Multi-Agent Algorithm: Inter-Class Interaction

Agents and Attractors

Simple Boundary of Agents

Blocking Agents

24. Variation of Geometries on Multi Agent Algorithm

Pipes on Agents

Tangent Curves on Agents

Surfaces with Tangent Edges on Agents

Surfaces around Agents: 1

Surfaces around Agents: 2

Surfaces around Agents: 3

Surfaces around Agents: 4

Surfaces around Agents: 5

25. Multi-Agents on A Surface

Line Agents on A Surface

Box Agents on A Surface

Mapping Agents with U, V Tangent and Normal

Another Example of Mapping Agents on A Surface

Cellular Automaton on A Surface


HOME
FOR PROCESSING
DOWNLOAD
DOCUMENTS
TUTORIALS
GALLERY
SOURCE CODE(GitHub)
ABOUT