Practical GPU Graphics with wgpu-py and Python

Practical GPU Graphics with wgpu-py and Python
Title Practical GPU Graphics with wgpu-py and Python PDF eBook
Author Jack Xu
Publisher UniCAD
Total Pages 436
Release 2022-06-15
Genre Computers
ISBN

Download Practical GPU Graphics with wgpu-py and Python Book in PDF, Epub and Kindle

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

Practical WebGPU Graphics
Title Practical WebGPU Graphics PDF eBook
Author Jack Xu
Publisher UniCAD
Total Pages 445
Release 2021-06-11
Genre Computers
ISBN

Download Practical WebGPU Graphics Book in PDF, Epub and Kindle

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 PayPal Integration in ASP.NET Core

Practical PayPal Integration in ASP.NET Core
Title Practical PayPal Integration in ASP.NET Core PDF eBook
Author Jack Xu
Publisher UniCAD
Total Pages 212
Release
Genre Computers
ISBN

Download Practical PayPal Integration in ASP.NET Core Book in PDF, Epub and Kindle

Welcome to "Practical PayPal Integration in ASP.NET Core". This book will provide useful resources on PayPal Checkout and Subscriptions APIs and SDKs, as well as their applications in ASP.NET Core projects. I hope that this book will be useful for .NET programmers, software developers, and students of all skill levels, who are interested in integrating the PayPal REST APIs into their ASP.NET applications. You may often get confused with PayPal because there are so many frameworks and options to do the same thing. In fact, there are over 50 PayPal services, APIs, and SDKs out there – you just do not know which one is suitable for your applications. In this book, I will choose the latest PayPal products, services, APIs, and SDKs, and integrate them into your ASP.NET Core applications. Here are PayPal technologies that I plan to use: •PayPal Smart Payment Buttons – These new buttons, introduced in June 2018, provide a simplified and secure check out experience. They intelligently present the most relevant payment types to your shoppers automatically. •PayPal JavaScript SDK – This SDK integrates Smart Payment Buttons into your web site and renders them to a container DOM element. •PayPal Checkout .NET SDK – To simplify integrations, PayPal provides a .NET SDK for their Version 2 REST Payment API. Using the SDK over a direct integration allows the SDK to handle authentication on the server side for you. •PayPal Subscriptions API – I will implement a Subscriptions .NET SDK based on PayPal Version 1 Subscriptions REST API. This SDK allows you to easily integrate PayPal Subscriptions into .NET applications. In the first part of this book, I will explain how to use the PayPal Checkout .NET SDK to get start with the PayPal Version 2 Payments and Orders REST APIs. I will use various examples to demonstrate the procedures to complete a PayPal checkout transaction, including how to set up the development environment, how to integrate and render Smart Payment Buttons, how to create and manage orders, and how to capture and verify the transaction. In the second part of this book, I will switch to PayPal Subscriptions API. This API has not been ported to Version 2 yet, so we have to use Version 1 API for subscription. To make matters even worse, PayPal has never released a stable Subscriptions .NET SDK, which makes it difficult for .NET developers to integrate PayPal Subscriptions API into .NET and .NET Core applications. Therefore, I decide to implement a simple PayPal Subscriptions .NET SDK, which simply exposes various static methods that can be used to integrate PayPal Subscriptions API into .NET applications. I will use several examples to illustrate how to use this SDK to complete subscription transactions.

Practical C# Charts and Graphics (Second Edition)

Practical C# Charts and Graphics (Second Edition)
Title Practical C# Charts and Graphics (Second Edition) PDF eBook
Author Jack Xu
Publisher UniCAD
Total Pages 564
Release 2019-08-10
Genre
ISBN 1088773133

Download Practical C# Charts and Graphics (Second Edition) Book in PDF, Epub and Kindle

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

Practical WPF Charts and Graphics
Title Practical WPF Charts and Graphics PDF eBook
Author Jack Xu
Publisher Apress
Total Pages 698
Release 2010-08-11
Genre Computers
ISBN 1430224827

Download Practical WPF Charts and Graphics Book in PDF, Epub and Kindle

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 C# and WPF For Financial Markets

Practical C# and WPF For Financial Markets
Title Practical C# and WPF For Financial Markets PDF eBook
Author Jack Xu
Publisher UniCAD
Total Pages 618
Release 2016-12-05
Genre Business & Economics
ISBN 0979372550

Download Practical C# and WPF For Financial Markets Book in PDF, Epub and Kindle

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.

Practical Numerical Methods with C#

Practical Numerical Methods with C#
Title Practical Numerical Methods with C# PDF eBook
Author Jack Xu
Publisher UniCAD
Total Pages 470
Release 2019
Genre Mathematics
ISBN 1695895576

Download Practical Numerical Methods with C# Book in PDF, Epub and Kindle

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.