Practical GPU Graphics with wgpu-py and Python
Title | Practical GPU Graphics with wgpu-py and Python PDF eBook |
Author | Jack Xu |
Publisher | UniCAD |
Pages | 436 |
Release | 2022-06-15 |
Genre | Computers |
ISBN |
Wgpu-py is the next-generation Python graphics API and future standard for both native devices and the web, aiming to provide modern 3D graphics and computation capabilities with the GPU acceleration. This book provides all the tools you need to help you create advanced 3D graphics and GPU computing on native devices with this new wgpu-py API. The book starts by taking you through the wgpu-py development environment for building the wgpu-py apps and then shows you the Python and wgpu-py basics, shader programs, GPU buffers, and rendering pipelines. Next, you will learn how to create primitives and simple objects in wgpu-py. As you progress through the chapters, you will get to grips with advanced wgpu-py topics, including 3D transformation, lighting calculation, colormaps, and textures. At the same time, you will learn how to create advanced 3D wgpu-py objects, including various 3D wireframes, 3D shapes, simple and parametric 3D surfaces with colormaps and textures, as well as beautiful fractal images described by complex functions. You will also explore new wgpu features, such as compute shader and storage buffer, and how to use them to simulate large particle systems. In addition, this book will introduce the pygfx render engine that is based on wgpu-py, and show you how to use its built-in primitives to create various 3D objects. You will also learn how to build custom objects and geometries in pygfx. By the end of this book, you will have the skill you need to build your own GPU-accelerated graphics and computing on both native devices and the web with the wgpu-py API.
Practical WebGPU Graphics
Title | Practical WebGPU Graphics PDF eBook |
Author | Jack Xu |
Publisher | UniCAD |
Pages | 445 |
Release | 2021-06-11 |
Genre | Computers |
ISBN |
WebGPU is the next-generation graphics API and future web standard for graphics and compute, aiming to provide modern 3D graphics and computation capabilities with the GPU acceleration. This book provides all the tools you need to help you create advanced 3D graphics and GPU computing on the web with this new WebGPU API. The book starts by taking you through the WebPack-TypeScript template for building the WebGPU apps and then shows you the WebGPU basics, shader program, GPU buffer, and rendering pipeline. Next, you will learn how to create primitives and simple objects in WebGPU. As you progress through the chapters, you will get to grips with advanced WebGPU topics, including 3D transformation, lighting calculation, colormaps, and textures. At the same time, you will learn how to create advanced 3D WebGPU objects, including various 3D wireframes, 3D shapes, simple and parametric 3D surfaces with colormaps and textures, as well as 3D surface plots and fractal graphics described by complex functions. In addition, you will explore new WebGPU features, such as compute shader and storage buffer, and how to use them to simulate large particle systems. By the end of this book, you will have the skill you need to build your own GPU-accelerated graphics and computing on the web with the WebGPU API. The book includes: - Template based on WebPack and TypeScript for developing WebGPU apps. - WebGPU basics, GLSL and WGSL shaders, and rendering pipeline. - Create primitives and simple shapes in WebGPU. - 3D transformations, model, viewing, projection, and various coordinate systems. - GPU buffers, uniform buffer objects, animation, and camera controls. - Normal vectors, lighting model, ambient, diffuse, and specular light calculations. - UV coordinates, texture mapping.- Color model, colormaps, and color interpolation. - Create 3D shapes, wireframes, surfaces, and 3D charts. - Create 3D plots and fractal graphics using complex functions. - Compute shaders, storage buffers, and large particle system simulation.
Practical C# Charts and Graphics (Second Edition)
Title | Practical C# Charts and Graphics (Second Edition) PDF eBook |
Author | Jack Xu |
Publisher | UniCAD |
Pages | 564 |
Release | 2019-08-10 |
Genre | Computers |
ISBN | 1088773133 |
The book "Practical C# Charts and Graphics (Second Edition) - Advanced Chart and Graphics Programming for Real-World .NET Applications" provides all the tools you need to create professional C# chart and graphics applications for .NET developers. The book "Practical C# Charts and Graphics " is a perfect guide to learning all the basics for creating your advanced chart and graphics applications in C#. The book clearly explains practical chart and graphics methods and their underlying algorithms. The book contains: - Overview of GDI+ graphics capabilities and mathematical basics of computer charting and graphics - Step-by-step procedures to create a variety of 2D and 3D charts and graphics with complete ready-to-run C# code for each application. - Powerful 2D and 3D chart packages and user controls that can be directly used in your C# applications or can be easily modified to create your own sophisticated chart and graphics packages. - Detailed procedures to embed JavaScript charting library into your WIndows Forms applications. - Introductions to embed Gincker Graphics into your C# applications and demonstration how to use Gincker Graphics to create a variety charts and graphics without the need to write a single line of code.
Practical WPF Charts and Graphics
Title | Practical WPF Charts and Graphics PDF eBook |
Author | Jack Xu |
Publisher | Apress |
Pages | 698 |
Release | 2010-08-11 |
Genre | Computers |
ISBN | 1430224827 |
Creating 2D and 3D charts is one of the most common uses of computer graphics. Such charts can have wide applications in representing mathematical, physical, and economic functions in your daily life. Whether you are an engineer, a quantitative analyst, a teacher, or a student, you will end up dealing with charting applications to some degree. Windows Presentation Foundation (WPF) is a next-generation graphics platform that enables you to build advanced user interfaces incorporating documents, media, 2D and 3D graphics, and animations. It is an ideal development tool that allows you to not only generate data, but also easily represent data graphically. Practical WPF Charts and Graphics provides all the tools you will need to develop professional chart and graphics applications in WPF and C#. This book will be useful for WPF and C# programmers of all skill levels, providing a complete and comprehensive explanation of WPF's graphics capability and the creation of various charts, and paying special attention to the details of code implementation.
Practical Numerical Methods with C#
Title | Practical Numerical Methods with C# PDF eBook |
Author | Jack Xu |
Publisher | UniCAD |
Pages | 470 |
Release | 2019 |
Genre | Mathematics |
ISBN | 1695895576 |
The second edition of this book builds all the code example within a single project by incorporating new advancements in C# .NET technology and open-source math libraries. It also uses C# Interactive Window to test numerical computations without compiling or running the complete project code. The second edition includes three new chapters, including "Plotting", Fourier Analysis" and "Math Expression Parser". As in the first edition, this book presents an in-depth exposition of the various numerical methods used in real-world scientific and engineering computations. It emphasizes the practical aspects of C# numerical methods and mathematical functions programming, and discusses various techniques in details to enable you to implement these numerical methods in your .NET application. Ideal for scientists, engineers, and students who would like to become more adept at numerical methods, the second edition of this book covers the following content: - Overview of C# programming. - The mathematical background and fundamentals of numerical methods. - plotting the computation results using a 3D chart control. - Math libraries for complex numbers and functions, real and complex vector and matrix operations, and special functions. - Numerical methods for generating random numbers and random distribution functions. - Various numerical methods for solving linear and nonlinear equations. - Numerical differentiation and integration. - Interpolations and curve fitting. - Optimization of single-variable and multi-variable functions with a variety of techniques, including advanced simulated annealing and evolutionary algorithms. - Numerical techniques for solving ordinary differential equations. - Numerical methods for solving boundary value problems. - Eigenvalue problems. - Fourier analysis. - mathematical expression parser and evaluator. In addition, this book provides testing examples for every math function and numerical method to show you how to use these functions and methods in your own .NET applications in a manageable and step-by-step fashion. Please visit the author's website for more information about this book at https://drxudotnet.com https://drxudotnet.com and https://gincker.com.
Practical WPF Graphics Programming
Title | Practical WPF Graphics Programming PDF eBook |
Author | Jack Xu |
Publisher | Ji-Hai Xu |
Pages | 0 |
Release | 2007 |
Genre | Computers |
ISBN | 9780979372513 |
The Windows Presentation Foundation (WPF) is a next generation graphics platform that is part of .NET 3.0 and .NET 3.5. It allows you to build advanced user interfaces that incorporate documents, media, 2D and 3D graphics, animations, and web-like characteristics. "Practical WPF Graphics Programming" provides all the tools you need to develop professional graphics applications using WPF and C#. This book will be useful for WPF and C# programmers of all skill levels. It provides a complete and comprehensive explanation of the WPF graphics capability, and pays special attention to the details of code implementation. The book shows you how to create a variety of graphics ranging from simple 2D shapes to complex 3D surfaces and interactive 3D models. It includes over 120 code examples, which cover broad array of topics on WPF graphics programming. You will learn how to create a full range of 2D and 3D graphics applications and how to implement custom 3D geometries and shapes that can be reused in your WPF projects. Please visit the author's website for more information about this book at www.authors.unicadpublish.com/ jack_xu.
Practical C# and WPF For Financial Markets
Title | Practical C# and WPF For Financial Markets PDF eBook |
Author | Jack Xu |
Publisher | UniCAD |
Pages | 618 |
Release | 2016-12-05 |
Genre | Business & Economics |
ISBN | 0979372550 |
Practical C# and WPF for Financial Markets provides a complete explanation of .NET programming in quantitative finance. It demonstrates how to implement quant models and back-test trading strategies. It pays special attention to creating business applications and reusable C# libraries that can be directly used to solve real-world problems in quantitative finance. The book contains: • Overview of C#, WPF programming, data binding, and MVVM pattern, which is necessary to create MVVM compatible .NET financial applications. • Step-by-step approaches to create a variety of MVVM compatible 2D/3D charts, stock charts, and technical indicators using my own chart package and Microsoft chart control. • Introduction to free market data retrieval from online data sources using .NET interfaces. These data include EOD, real-time intraday, interest rate, foreign exchange rate, and option chain data. • Detailed procedures to price equity options and fixed-income instruments, including European/American/Barrier options, bonds, and CDS, as well as discussions on related topics such as cash flows, term structures, yield curves, discount factors, and zero-coupon bonds. • Introduction to linear analysis, time series analysis, and machine learning in finance, which covers linear regression, PCA, SVM, and neural networks. • In-depth descriptions of trading strategy development and back-testing, including strategies for single stock trading, stock pairs trading, and trading for multi-asset portfolios.